Description Usage Arguments Details Value
View source: R/build_DAF_data.R
Create a list that will contain all data needed for differential features analysis.
1 2 | build_DAF_data(count_table, metadata, group_var = NULL,
simulation = TRUE, ...)
|
count_table |
a matrix of count values with features as rows and samples as columns. |
metadata |
a data frame. Rows are samples and miscellaneous variables as columns. |
group_var |
character. The name of |
simulation |
logical. Should differences be generated ? Default is TRUE. |
... |
additionnal parameter passed to the |
If the columns names of the count table do not match the rows names of the metadata table, metadata columns are screened for a variable countaining these names.
If such variable is not found, it is assumed that individuals follow the same order through count table columns and metadata rows.
a list of 2 or 4 elements :
count_table |
a matrix of count values. |
metadata |
a data frame of at least one column countaining the group variable. |
If the simulation
parameter was TRUE, artificial differences were
generated. It is possible to know exactly which are the true
differentially abundant features (DAF).
true_DAF |
a character vector. The names of the true DAF. |
FC_true_DAF |
a numeric vector. The fold-change of the true DAF. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.