cal_activity | R Documentation |
The core function to compute the activity profile of an TF
cal_activity(
gs_remain,
tmp_data,
tmp_sign,
ind,
with_weight,
DE_weights,
tf_exprs,
useCorSign = useCorSign
)
gs_remain |
a vector of target genes after filtering |
tmp_data |
gene expression of target genes |
tmp_sign |
sign of target genes (+1 for one group, -1 for the other) |
ind |
Hill coefficient parameter used in the weighting factors (default: 1/5, recommend to use 0 < ind < 1/4) |
with_weight |
whether weighting factors (based on DEG p-values) are used to compute TF activity (default: TRUE) |
DE_weights |
a vector of the input for computing DE weighting factors (typically, adjusted p-values from DEG analysis) |
tf_exprs |
a vector of gene expression of the TF |
useCorSign |
allow the option to use the TF gene expression correlation to flip signs (default: TRUE) |
a list of results: activity: matrix of TF activity. sign: grouping scheme of all TF gene sets.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.