mappingtaxda {MicrobiotaProcess} | R Documentation |
build the data.frame for 'geom_bar' of 'ggplot2', if the data.frame was built, you can visulize with 'ggbartax'.
mappingtaxda( data, topn = 30, count = FALSE, sampleda = NULL, factorLevels = NULL, plotda = TRUE )
data |
data.frame, (nrow sample * ncol feature (factor)) |
topn |
integer, the top number of abundance taxonomy(feature). |
count |
boolean, default is FALSE. |
sampleda |
data.frame, (nrow sample * ncol factor) the sample information, if the data doesn't contain the information. |
factorLevels |
list, the levels of the factors, default is NULL, if you want to order the levels of factor, you can set this. |
plotda |
boolean, default is TRUE, whether build the data.frame for 'geom_bar' of 'ggplot2'. |
the data.frame for ggbartax
Shuangbin Xu