reduceCrossTab {coRdon} | R Documentation |
crossTab
.Reduce the input contingency table by associating sequences with KEGG Pathway, KEGG Module or COG functional category identifiers.
reduceCrossTab(x, target) ## S4 method for signature 'crossTab,character' reduceCrossTab(x, target)
x |
A |
target |
Character vector indicating which onthology to use, either
|
Returns input crossTab
object, with updated contingency
table, displaying new category values in rows, and updated counts
in columns.
# create contingency table s <- getKO(HD59) v <- as.numeric(MELP(HD59, ribosomal = TRUE)) ct <- crossTab(s, v) ct # reduce contingency table reduceCrossTab(ct, "pathway") reduceCrossTab(ct, "module")