Skip to contents

Title: Clean data from the Denovix DS-11 instrument

Usage

tidyDenovix(
  dfile,
  file_type = NULL,
  sample_type = c("RNA", "DNA"),
  check_level = c("strict", "lax"),
  qc_omit = NULL,
  normalized = c("yes", "no"),
  fun = NA
)

Arguments

dfile

The raw file obtained from the machine.

file_type

The file type specification.

sample_type

The sample type specification used in quality control.

check_level

The level of quality control performed.

qc_omit

Takes 'yes' or 'no' and determines if the qc data would be provided.

normalized

Takes 'yes' or 'no'.

fun

A parameter used for boolean expressions.

Value

A cleaned data frame with attribute names in some instances.

Note

The strict level of QC yields a data frame with no attribute names. This will be worked on so that users get the sample names for their data.

Author

Tingwei Adeck

Examples

fpath <- system.file("extdata", "rnaspec2018.csv", package = "tidyDenovix", mustWork = TRUE)
rna_data = tidyDenovix(fpath, file_type = 'csv', sample_type = 'RNA', check_level = 'lax')