View source: R/get_neon_data.R
qcMetadata | R Documentation |
Performs basic QAQC checks on sequence metadata prior to downloading sequence data and performing bioinformatics processing. Running this function will remove metadata records for samples that do not meet user specifications. This will reduce the number of sequence files that are downloaded to only those that will be used for analysis, thereby saving file space and reducing download times.
qcMetadata(
metadata,
outDir = NULL,
pairedReads = "Y",
rmDupes = TRUE,
rmFlagged = "N",
verbose = FALSE
)
metadata |
The output of |
outDir |
Directory where QC'd metadata will be saved By default (NULL), QC'd metadata will be saved to file.path(NEONMICROBE_DIR_SEQMETA(), "qc_metadata") |
pairedReads |
"Y" (default) or "N". Should the forward reads for a sample be removed if the corresponding reverse read is missing? If "Y", then only samples that have both the forward (R1) and reverse (R2) reads will be retained. |
rmDupes |
TRUE (default) or FALSE. Should records with duplicated dnaSampleIDs be removed? If TRUE, then only the first records encountered for a particular dnaSampleID will be retained. |
QC'd dataframe is returned as an object and saved as csv file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.