# NOT RUN {
  ## 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")
# }
Run the code above in your browser using DataLab