Description Usage Arguments Value Author(s) Examples
View source: R/plotAbundanceBar.R
Plot the aggregated abundance barplot for all files/clusters
1 | plotAbundanceBar(mat.abundance, mat.counts, min.count=5)
|
mat.abundance |
A matrix of abundance |
mat.counts |
A matrix of the counts |
min.count |
The cutoff for the minimum counts to be included |
None returned, generate a barplot.
J.Wu
1 2 3 4 5 6 7 8 9 10 11 12 13 | path <- system.file("files", package = "PloGO2")
# run PloPathway with list of id's, data file and reference
res <- PloPathway( zipFile=paste(path, "PWFiles.zip", sep="/"),
reference="Alldata",
data.file.name = paste(path, "Abundance_data.csv", sep="/"),
datafile.ignore.cols = 1)
png("AbundanceBarplot.png", 2500, 2000, res=300)
par(mar=c(4,10,4,14))
plot.res <- plotAbundanceBar(res$aggregatedAbundance, res$Counts)
dev.off()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.