Description Usage Arguments Value Examples
Remove samples from the dataset with the metadata's variable value with NAs.
1 | remove_samples_by_na_metadata(dataset, metadata.var)
|
dataset |
list representing the dataset from a metabolomics experiment. |
metadata.var |
metadata's variable. |
Returns the dataset with the samples with NA on metadata's variable removed.
1 2 3 4 5 | ## Example of removing samples that have NAs on metadata's variable
library(specmine.datasets)
data(cachexia)
cachexia$metadata$Muscle.loss[10] = NA
cachexia = remove_samples_by_na_metadata(cachexia, "Muscle.loss")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.