Description Usage Arguments Value Examples
In a vector of sequence labels, return a vector of just the sample IDs with the format of "s" followed by three digits.
1 | extract_sample_id(sample_list)
|
sample_list |
vector of sample names |
vector of sample IDs
1 2 3 | example_samples <- c("lane1-s216-index-GTTTCTGCT-s216.fastq.gz",
"lane1-s217-index-CACGATGGA-s217.fastq.gz")
extract_sample_id(example_samples)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.