addConnections_peak_gene | R Documentation |
GRN
objectAdd peak-gene connections to a GRN
object
addConnections_peak_gene( GRN, overlapTypeGene = "TSS", corMethod = "pearson", promoterRange = 250000, TADs = NULL, nCores = 4, plotDiagnosticPlots = TRUE, plotGeneTypes = list(c("all"), c("protein_coding"), c("protein_coding", "lincRNA")), outputFolder = NULL, addRobustRegression = FALSE, forceRerun = FALSE )
GRN |
Object of class |
overlapTypeGene |
Character. |
corMethod |
Character. |
promoterRange |
Integer >=0. Default 250000. The size of the neighborhood in bp to correlate peaks and genes in vicinity. Only peak-gene pairs will be correlated if they are within the specified range. Increasing this value leads to higher running times and more peak-gene pairs to be associated, while decreasing results in the opposite. |
TADs |
Data frame with TAD domains. Default |
nCores |
Integer >0. Default 1. Number of cores to use. |
plotDiagnosticPlots |
|
plotGeneTypes |
List of character vectors. Default |
outputFolder |
Character or |
addRobustRegression |
|
forceRerun |
|
The same GRN
object, with added data from this function in different flavors.
# See the Workflow vignette on the GRaNIE website for examples GRN = loadExampleObject() GRN = addConnections_peak_gene(GRN, promoterRange=10000, plotDiagnosticPlots = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.