plotPeak2GeneHeatmap.Rd
This function plots side by side heatmaps of linked ATAC and Gene regions from addPeak2GeneLinks
.
plotPeak2GeneHeatmap(
ArchRProj = NULL,
corCutOff = 0.45,
FDRCutOff = 1e-04,
varCutOffATAC = 0.25,
varCutOffRNA = 0.25,
k = 25,
nPlot = 25000,
limitsATAC = c(-2, 2),
limitsRNA = c(-2, 2),
groupBy = "Clusters",
palGroup = NULL,
palATAC = paletteContinuous("solarExtra"),
palRNA = paletteContinuous("blueYellow"),
verbose = TRUE,
returnMatrices = FALSE,
seed = 1,
logFile = createLogFile("plotPeak2GeneHeatmap")
)
An ArchRProject
object.
A numeric describing the minimum numeric peak-to-gene correlation to return.
A numeric describing the maximum numeric peak-to-gene false discovery rate to return.
A numeric describing the minimum variance quantile of the ATAC peak accessibility when selecting links.
A numeric describing the minimum variance quantile of the RNA gene expression when selecting links.
An integer describing the number of k-means clusters to group peak-to-gene links prior to plotting heatmaps.
An integer describing the maximum number of peak-to-gene links to plot in heatmap.
An integer describing the maximum number of peak-to-gene links to plot in heatmap.
An integer describing the maximum number of peak-to-gene links to plot in heatmap.
The name of the column in cellColData
to use for labeling KNN groupings. The maximum group appeared in the KNN groupings is used.
A color palette describing the colors in groupBy
. For example, if groupBy = "Clusters" try paletteDiscrete(ArchRProj$Clusters) for a color palette.
A color palette describing the colors to be used for the ATAC heatmap. For example, paletteContinuous("solarExtra").
A color palette describing the colors to be used for the RNA heatmap. For example, paletteContinuous("blueYellow").
A boolean value that determines whether standard output should be printed.
A boolean value that determines whether the matrices should be returned with kmeans id versus plotting.
A number to be used as the seed for random number generation. It is recommended to keep track of the seed used so that you can reproduce results downstream.
The path to a file to be used for logging ArchR output.