diff --git a/README.html b/README.html index cdf900b..bf46933 100644 --- a/README.html +++ b/README.html @@ -605,8 +605,8 @@
ggheat
Using ggheat
, it is effortless to create a simple
Heatmap. The default color mapping was not consistent between
ComplexHeatmap and ggplot2.
gganno
The same with ggheat
, the essential parameter of
gganno
is also the ggfn
, which accepts a
ggplot2 object equipped with a default data and mappings established by
@@ -1117,58 +1117,69 @@
anno_gg
and
top_annotation = HeatmapAnnotation(
ggplot = anno_gg2(g, "panel",
margins = NULL,
- height = unit(6, "cm"),
+ height = unit(3, "cm"),
show_name = FALSE
)
)
)
-
+
# anno_gg2-panel: margins = "l" --------
ggheat(m,
top_annotation = HeatmapAnnotation(
ggplot = anno_gg2(g, "panel",
margins = "l",
- height = unit(6, "cm"),
+ height = unit(3, "cm"),
show_name = FALSE
)
)
)
# anno_gg2-panel: margins = "r" --------
ggheat(m,
top_annotation = HeatmapAnnotation(
ggplot = anno_gg2(g, "panel",
margins = "r",
- height = unit(6, "cm"),
+ height = unit(3, "cm"),
show_name = FALSE
)
)
)
# anno_gg2-plot ---------------------
ggheat(m,
top_annotation = HeatmapAnnotation(
ggplot = anno_gg2(g, "plot",
- height = unit(6, "cm"),
+ height = unit(3, "cm"),
show_name = FALSE
)
)
)
# anno_gg2-full --------------------
ggheat(m,
top_annotation = HeatmapAnnotation(
- ggplot = anno_gg2(g, "full",
- height = unit(6, "cm"),
- show_name = FALSE
- )
- )
-)