Description Usage Arguments Value
View source: R/compute_scores.R
Compute the abundance scores of nodes in a network
1 | compute_abundance(dfn, node, ids, exprv, group, cois, gois)
|
dfn |
A dataframe with the cell abundance and gene expression values, in a tidy format. Each row of the measurement data should contain, at least, the following columns: a sample ID; node ID; expression value of this node for this sample; group of this sample ID. |
node |
Name of the column with the nodes names. |
ids |
Name of the column with the ID of each sample. |
exprv |
Name of the column with the value of expression data. |
group |
Name of the column with the group information of the sample. |
cois |
Cells of interest to filter from the scaffold. |
gois |
Genes of interest to be filtered. |
A dataframe with the ternary bins for each node and the ratio of samples in each group that map to the two upper tertiles.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.