getSampleName | R Documentation |
Deprecated in favor of code that reads dnaSampleID from sequence metadata.
getSampleName(
fn,
post_samplename_pattern1 = "_R1.*\\.fastq",
post_samplename_pattern2 = "_R2.*\\.fastq"
)
fn |
Fastq filename(s). |
post_samplename_pattern1 , post_samplename_pattern2 |
Default "_R1.\.fastq" and "_R2.\.fastq". Regular expressions denoting the ends of the R1 and R2 filenames, respectively, which will be trimmed away, leaving identical names between corresponding R1 and R2 files. |
Extracts the sample names from fastq filenames, given regular expressions denoting the different endings of R1 and R2 filenames.
Character vector; sample names of the input fastq filenames.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.