pruneLinks: pruneLinks

Description Usage Arguments Value Examples

View source: R/enhancerToGene.R

Description

Prune enhancer-to-gene links

Usage

1
pruneLinks(RF_links = NULL, Cor_links = NULL, cor_prob = 0.01, cor_thr = NULL)

Arguments

RF_links

Data frames list containing RF scores for each region in each gene as returned by enhancerToGene().

Cor_links

Data frames list containing correlation scores for each region in each gene as returned by enhancerToGene(). If both RF and correlation links are provided, the height of the links will represent the RF importance and the color whether the correlation is positive or negative. If only RF is provided, links will be colored black; and if only correlation links are provided the height of the lnk will indicate the absolute correlation value and the color whether it is positive or negative.

cor_prob

Probability threshold on the fitted distribution above which positive and negative correlation will be taken.

cor_thr

A vector containing the lower and upper thresholds for the correlation links.

Value

A list containing slots with the pruned RF links ('RF_links') and/or correlation links ('Cor_links')

Examples

1
pruneLinks(RF_links, Cor_links)

aertslab/ScoMAP documentation built on Oct. 8, 2021, 1:15 a.m.