From b455d80bfa5ed14332a929b28f1768413ca5b5c9 Mon Sep 17 00:00:00 2001
From: Chirag Parsania
Date: Tue, 22 Oct 2024 11:11:23 +1100
Subject: [PATCH] bug fix
---
R/chip_related.R | 7 ++++---
docs/reference/make_enriched_heatmap_list.html | 7 ++++++-
man/make_enriched_heatmap_list.Rd | 5 ++++-
3 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/R/chip_related.R b/R/chip_related.R
index 6d78cc5..b3474ae 100644
--- a/R/chip_related.R
+++ b/R/chip_related.R
@@ -289,7 +289,7 @@ import_topn_bed_features <- function(bed_feature_file,topn = 5000, center = TRUE
#' @param heatmap_axis_name_rot internally passed to \code{axis_name_rot} argument of [EnrichedHeatmap::EnrichedHeatmap()].
#' @param heatmap_axis_name_gp internally passed to \code{axis_name_gp} argument of [EnrichedHeatmap::EnrichedHeatmap()].
#' @param heatmap_border internally passed to \code{border} argument of [EnrichedHeatmap::EnrichedHeatmap()].
-#'
+#' @param ... Other arguments passed to \code{...} argument of [EnrichedHeatmap::EnrichedHeatmap()].
#' @return a HeatmapList.
#' @export
#'
@@ -313,7 +313,8 @@ make_enriched_heatmap_list <- function(x,
heatmap_axis_name= c("-3KB","Summit","+3KB"),
heatmap_axis_name_rot = 0,
heatmap_axis_name_gp = gpar(fontsize = 10),
- heatmap_border = TRUE){
+ heatmap_border = TRUE,
+ ...){
# validate x
@@ -401,7 +402,7 @@ make_enriched_heatmap_list <- function(x,
pos_line_gp = heatmap_pos_line_gp,
axis_name_rot = heatmap_axis_name_rot,
border = heatmap_border, use_raster = TRUE ,
- split = peak_clust$clust))
+ split = peak_clust$clust,...))
diff --git a/docs/reference/make_enriched_heatmap_list.html b/docs/reference/make_enriched_heatmap_list.html
index 8037924..8776417 100644
--- a/docs/reference/make_enriched_heatmap_list.html
+++ b/docs/reference/make_enriched_heatmap_list.html
@@ -64,7 +64,8 @@
+
+...
+Other arguments passed to ...
argument of EnrichedHeatmap::EnrichedHeatmap()
.
+
Value
diff --git a/man/make_enriched_heatmap_list.Rd b/man/make_enriched_heatmap_list.Rd
index 53a32bb..ca83414 100644
--- a/man/make_enriched_heatmap_list.Rd
+++ b/man/make_enriched_heatmap_list.Rd
@@ -20,7 +20,8 @@ make_enriched_heatmap_list(
heatmap_axis_name = c("-3KB", "Summit", "+3KB"),
heatmap_axis_name_rot = 0,
heatmap_axis_name_gp = gpar(fontsize = 10),
- heatmap_border = TRUE
+ heatmap_border = TRUE,
+ ...
)
}
\arguments{
@@ -54,6 +55,8 @@ Default \code{circlize::colorRamp2(breaks = c(0,0.5,1),colors = c('#fee6ce','#e6
\item{heatmap_axis_name_gp}{internally passed to \code{axis_name_gp} argument of \code{\link[EnrichedHeatmap:EnrichedHeatmap]{EnrichedHeatmap::EnrichedHeatmap()}}.}
\item{heatmap_border}{internally passed to \code{border} argument of \code{\link[EnrichedHeatmap:EnrichedHeatmap]{EnrichedHeatmap::EnrichedHeatmap()}}.}
+
+\item{...}{Other arguments passed to \code{...} argument of \code{\link[EnrichedHeatmap:EnrichedHeatmap]{EnrichedHeatmap::EnrichedHeatmap()}}.}
}
\value{
a HeatmapList.