powered by
Remove samples from the dataset.
remove_samples(dataset, samples.to.remove, rebuild.factors = TRUE)
list representing the dataset from a metabolomics experiment.
vector with the sample's names to remove.
if TRUE, rebuilds the factors from metadata.
Returns the dataset with the specified samples removed.
# NOT RUN { ## Example of removing samples library(specmine.datasets) data(cachexia) cachexia = remove_samples(cachexia, c("PIF_178","PIF_090")) # }
Run the code above in your browser using DataLab