View source: R/Script_PLATE_04_PREPROCESS_2_SubsetSamples.R
SubsetSamples | R Documentation |
Subsets specific samples (cells) from sample metadata.
SubsetSamples(MarvelObject, sample.ids)
MarvelObject |
Marvel object. S3 object generated from |
sample.ids |
Vector of character strings. Sample IDs to subset. |
An object of class S3 with updated slot MarvelObject$SplicePheno
.
marvel.demo <- readRDS(system.file("extdata/data", "marvel.demo.rds", package="MARVEL")) sample.ids <- sample(marvel.demo$SplicePheno$sample.id, size=10) marvel.demo <- SubsetSamples(MarvelObject=marvel.demo, sample.ids=sample.ids )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.