# NOT RUN {
  ## Example of subsetting samples and x-values
  library(specmine.datasets)
  data(cachexia)
  subset = subset_by_samples_and_xvalues(cachexia, c("PIF_178","NETL_022_V1"), 
	   variables = c("Creatine","Serine"))
# }
Run the code above in your browser using DataLab