Description Usage Arguments Value Examples
Given a vector of sample names or labeling that has a sample ID, this function will filter the sample names by IDs.
1 | filter_by_id(ids, sample_list)
|
ids |
vector of ID numbers or labels |
sample_list |
vector of string sample names |
vector of original sample vector but filtered for certain IDs
1 2 3 4 | example_samples <- c("lane1-s216-index-GTTTCTGCT-s216_L001_R1_001.fastq.gz",
"lane1-s217-index-CACGATGGA-s217_L001_R1_001.fastq.gz")
example_ids <- c("s216")
filter_by_id(example_ids, example_samples)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.