View source: R/subset.Dataset.r
subset.Dataset | R Documentation |
Takes a Dataset object and a logical expression and returns a Dataset with only the samples that meet the logical expression criteria
## S3 method for class 'Dataset' subset(x, subset, drop = FALSE, clean = FALSE)
x |
A |
subset |
Expression indicating samples to subset. See subset in subset |
drop |
Logical indicating whether to drop variable levels that disappear. |
clean |
Logical indicating whether to use the clean function on the resulting dataset prior to returning it. |
If the logical expression evaluation returns an NA value, it is considered equivalent to FALSE
A Dataset object
Sur from Dangl Lab
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.