matchFastqToMetadata | R Documentation |
Helper function to match fastq file names to sequence metadata via the sequence metadata table's "rawDataFileName" column. Tolerant to filenames with appended run ID prefix (e.g. "runB69RN_...") and agnostic to .gz compression.
matchFastqToMetadata(fn, meta, verbose = TRUE)
fn |
Full name(s) of fastq file(s). |
meta |
Metadata downloaded using |
verbose |
(Optional) Default TRUE. Whether to print warning messages when metadata does not contain records corresponding to all provided fastq files. |
Used in getPairedFastqFiles
and removeUnpairedFastqFiles
.
Data frame, in which the first column contains the fastq file names in the order received, and the remaining columns contain corresponding metadata records. Has as many rows as the number of input filenames.
## Not run:
meta_ext <- matchFastqToMetadata(c("sample1_R1.fastq", "sample1_R2.fastq"), meta)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.