View source: R/filterSamples.R
filterSamples | R Documentation |
Filter samples
filterSamples(obj, ids, groups = colnames(obj), keepOnly = FALSE)
obj |
ExpressionSet object. |
ids |
Names found within the groups labels corresponding to samples to be removed |
groups |
Vector of labels for each sample or a column name of the phenoData slot for the ids to filter. Default is the column names. |
keepOnly |
Filter or keep only the samples with those labels. |
Filtered ExpressionSet object
data(skin)
filterSamples(skin,ids = "Skin - Not Sun Exposed (Suprapubic)",groups="SMTSD")
filterSamples(skin,ids=c("GTEX-OHPL-0008-SM-4E3I9","GTEX-145MN-1526-SM-5SI9T"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.