Description Usage Arguments Value See Also Examples
This function plots the number of observed features vs. the depth of coverage.
1 |
obj |
A MRexperiment object with count data or matrix. |
cl |
Vector of classes for various samples. |
... |
Additional plot arguments. |
Library size and number of detected features
plotOrd
, plotMRheatmap
, plotCorr
, plotOTU
, plotGenus
1 2 3 4 5 6 7 8 | data(mouseData)
cl = factor(pData(mouseData)[,3])
res = plotRare(mouseData,cl=cl,pch=21,bg=cl)
tmp=lapply(levels(cl), function(lv) lm(res[,"ident"]~res[,"libSize"]-1, subset=cl==lv))
for(i in 1:length(levels(cl))){
abline(tmp[[i]], col=i)
}
legend("topleft", c("Diet 1","Diet 2"), text.col=c(1,2),box.col=NA)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.