data(metMUD1)
new1 <- removeSample(metMUD1, rem.sam = 20)
# removes the 20th spectrum/sample
new2 <- removeSample(metMUD1, rem.sam = "Sample_20")
# removes one spectrum/sample with this exact name.
new3 <- removeSample(metMUD1, rem.sam = "Sample")
# removes all samples!Run the code above in your browser using DataLab