lefserClades | R Documentation |
lefesrCaldes
Agglomerates the features abundance at different
taxonomic ranks using mia::splitByRanks
and performs lefser at
each rank. The analysis is run at the species, genus, family, order,
class, and phylum levels.
lefserClades(relab, ...)
relab |
A (Tree) SummarizedExperiment with full taxonomy in the rowData. |
... |
Arguments passed to the |
When running lefserClades
, all features with NAs in the rowData will
be dropped. This is to avoid creating artificial clades with NAs.
An object of class 'lefser_df_clades', "lefser_df", and 'data.frame'.
data("zeller14")
z14 <- zeller14[, zeller14$study_condition != "adenoma"]
tn <- get_terminal_nodes(rownames(z14))
z14tn <- z14[tn, ]
z14tn_ra <- relativeAb(z14tn)
z14_input <- rowNames2RowData(z14tn_ra)
resCl <- lefserClades(relab = z14_input, classCol = "study_condition")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.