
Last chance! 50% off unlimited learning
Sale ends in
Plot contaminants from evidence.txt, broken down into top5-proteins.
plot_ContEVD(data, top5)
GGplot object
A data.frame with columns 'fc.raw.file', 'contaminant', 'pname', 'intensity'
Name of the Top-5 Proteins (by relative intensity or whatever seems relevant)
data = data.frame(intensity = 1:12,
pname = rep(letters[1:3], 4),
fc.raw.file = rep(paste("f", 1:4), each=3),
contaminant = TRUE)
## providing more proteins than present... d,e will be ignored
plot_ContEVD(data, top5 = letters[1:5])
## classify 'c' as 'other'
plot_ContEVD(data, top5 = letters[1:2])
Run the code above in your browser using DataLab