compute_abundance: Compute the abundance scores of nodes in a network

Description Usage Arguments Value

View source: R/compute_scores.R

Description

Compute the abundance scores of nodes in a network

Usage

1
compute_abundance(dfn, node, ids, exprv, group, cois, gois)

Arguments

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.

Value

A dataframe with the ternary bins for each node and the ratio of samples in each group that map to the two upper tertiles.


heimannch/abcnet documentation built on Jan. 2, 2021, 5:06 p.m.