Description Usage Arguments Value Examples
Remove samples from the dataset.
1 | remove_samples(dataset, samples.to.remove, rebuild.factors = TRUE)
|
dataset |
list representing the dataset from a metabolomics experiment. |
samples.to.remove |
vector with the sample's names to remove. |
rebuild.factors |
if TRUE, rebuilds the factors from metadata. |
Returns the dataset with the specified samples removed.
1 2 3 4 | ## Example of removing samples
library(specmine.datasets)
data(cachexia)
cachexia = remove_samples(cachexia, c("PIF_178","PIF_090"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.