Plot all the Peak2Gene links with heatmap.
plotP2GHeatmap(
p2g_res,
cor_cutoff,
atac_matrix,
rna_matrix,
cluster_N = 4,
raster = F,
palATAC = NA,
palRNA = NA,
save_path = NA,
fig_width = 12,
fig_height = 12
)
The peak2gene result obtained by **getPeak2Gene**
Pearson's correlation coefficient threshold for determining significance Peak2Gene links.
The normalized ATAC-seq data frame obtained by **quantification**. Same as **getPeak2Gene** parameter.
The normalized RNA-seq data frame. Same as **getPeak2Gene** parameter.
Clustering rows into N modules. Default: 4.
Wheather to raster the plot. Default: FALSE.
The color of ATAC heatmap.
The color of RNA heatmap.
The path to save result.
The PDF width. Default: 12.
The PDF height. Default: 12.
plotP2GHeatmap("./P2G_all_links.rds",cor_cutoff=0.4,atac_matrix="./ATAC_norm_quant.tsv",rna_matrix="./RNA_norm_quant.tsv",save_path="./")
#> Error in checkGeAnno(): Necessary Annotation not exist. Please **addAnnotation** first.