calc_dnp_i {crosstalkr}R Documentation

helper function to calculate dnp for one sample

Description

helper function to calculate dnp for one sample

Usage

calc_dnp_i(df, g, v_rm = NULL, keep_all = TRUE)

Arguments

df

dataframe with one cell line + log expression

g

igraph object containing ppi info

v_rm

passed to node_repression()

keep_all

logical flag denoting if we should keep genes that we didn't calculate dnp for

Value

same dataframe with dnp calculated for each gene.


[Package crosstalkr version 1.0.5 Index]