plotsms | R Documentation |
Plot the intensity distribution of GC-MS
plotsms(meanmatrix, rsdmatrix)
meanmatrix |
mean data matrix of GC-MS(n=5) |
rsdmatrix |
standard deviation matrix of GC-MS(n=5) |
## Not run: data1 <- getmd(‘sample1-1’) data2 <- getmd(‘sample1-2’) data3 <- getmd(‘sample1-3’) data4 <- getmd(‘sample1-4’) data5 <- getmd(‘sample1-5’) data <- (data1+data2+data3+data4+data5)/5 datasd <- sqrt(((data1-data)^2+(data2-data)^2+(data3-data)^2+(data4-data)^2+(data5-data)^2)/4) databrsd <- datasd/data plotsms(meanmatrix,rsdmatrix) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.