... | ... |
@@ -1,4 +1,4 @@ |
1 |
-<a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/"><img src="https://jokergoo.github.io/ComplexHeatmap-reference/book/complexheatmap-cover.jpg" width=240 align="right" style="border:2px solid black;" ></a> |
|
1 |
+# Make Complex Heatmaps <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/"><img src="https://jokergoo.github.io/ComplexHeatmap-reference/book/complexheatmap-cover.jpg" width=240 align="right" style="border:2px solid black;" ></a> |
|
2 | 2 |
|
3 | 3 |
[](https://travis-ci.org/jokergoo/ComplexHeatmap) |
4 | 4 |
[](https://codecov.io/github/jokergoo/ComplexHeatmap) |
... | ... |
@@ -8,26 +8,25 @@ |
8 | 8 |
|
9 | 9 |
<img src="http://jokergoo.github.io/complexheatmap_logo.svg" width="600"> |
10 | 10 |
|
11 |
-## Make Complex Heatmaps |
|
12 | 11 |
|
13 | 12 |
Complex heatmaps are efficient to visualize associations between different |
14 | 13 |
sources of data sets and reveal potential patterns. Here the |
15 | 14 |
**ComplexHeatmap** package provides a highly flexible way to arrange multiple |
16 | 15 |
heatmaps and supports various annotation graphics. |
17 | 16 |
|
18 |
-### Citation |
|
17 |
+## Citation |
|
19 | 18 |
|
20 | 19 |
Zuguang Gu, Roland Eils and Matthias Schlesner, [Complex heatmaps reveal patterns and correlations in multidimensional genomic data](http://bioinformatics.oxfordjournals.org/content/early/2016/05/20/bioinformatics.btw313.abstract), Bioinformatics, 2016 |
21 | 20 |
|
22 |
-### Documentation |
|
21 |
+## Documentation |
|
23 | 22 |
|
24 |
-The full documentations are available at https://jokergoo.github.io/ComplexHeatmap-reference/book/. |
|
23 |
+The full documentations are available at https://jokergoo.github.io/ComplexHeatmap-reference/book/ and the website is at https://jokergoo.github.io/ComplexHeatmap. |
|
25 | 24 |
|
26 |
-### Install |
|
25 |
+## Install |
|
27 | 26 |
|
28 | 27 |
`ComplexHeatmap` is available on [Bioconductor](http://www.bioconductor.org/packages/devel/bioc/html/ComplexHeatmap.html), you can install it by: |
29 | 28 |
|
30 |
-```{r} |
|
29 |
+```r |
|
31 | 30 |
if (!requireNamespace("BiocManager", quietly=TRUE)) |
32 | 31 |
install.packages("BiocManager") |
33 | 32 |
BiocManager::install("ComplexHeatmap") |
... | ... |
@@ -35,62 +34,62 @@ BiocManager::install("ComplexHeatmap") |
35 | 34 |
|
36 | 35 |
If you want the latest version, install it directly from GitHub: |
37 | 36 |
|
38 |
-```{r} |
|
37 |
+```r |
|
39 | 38 |
library(devtools) |
40 | 39 |
install_github("jokergoo/ComplexHeatmap") |
41 | 40 |
``` |
42 | 41 |
|
43 |
-### Usage |
|
42 |
+## Usage |
|
44 | 43 |
|
45 | 44 |
Make a single heatmap: |
46 | 45 |
|
47 |
-```{r} |
|
46 |
+```r |
|
48 | 47 |
Heatmap(mat, ...) |
49 | 48 |
``` |
50 | 49 |
|
51 | 50 |
A single Heatmap with column annotations: |
52 | 51 |
|
53 |
-```{r} |
|
52 |
+```r |
|
54 | 53 |
ha = HeatmapAnnotation(df = anno1, anno_fun = anno2, ...) |
55 | 54 |
Heatmap(mat, ..., top_annotation = ha) |
56 | 55 |
``` |
57 | 56 |
|
58 | 57 |
Make a list of heatmaps: |
59 | 58 |
|
60 |
-```{r} |
|
59 |
+```r |
|
61 | 60 |
Heatmap(mat1, ...) + Heatmap(mat2, ...) |
62 | 61 |
``` |
63 | 62 |
|
64 | 63 |
Make a list of heatmaps and row annotations: |
65 | 64 |
|
66 |
-```{r} |
|
65 |
+```r |
|
67 | 66 |
ha = HeatmapAnnotation(df = anno1, anno_fun = anno2, ..., which = "row") |
68 | 67 |
Heatmap(mat1, ...) + Heatmap(mat2, ...) + ha |
69 | 68 |
``` |
70 | 69 |
|
71 |
-### Examples |
|
70 |
+## Examples |
|
72 | 71 |
|
73 |
-#### Visualize Methylation Profile with Complex Annotations |
|
72 |
+### Visualize Methylation Profile with Complex Annotations |
|
74 | 73 |
|
75 | 74 |
 |
76 | 75 |
|
77 |
-#### Correlations between methylation, expression and other genomic features |
|
76 |
+### Correlations between methylation, expression and other genomic features |
|
78 | 77 |
|
79 | 78 |
 |
80 | 79 |
|
81 |
-#### Visualize Cell Heterogeneity from Single Cell RNASeq |
|
80 |
+### Visualize Cell Heterogeneity from Single Cell RNASeq |
|
82 | 81 |
|
83 | 82 |
 |
84 | 83 |
|
85 |
-#### Making Enhanced OncoPrint |
|
84 |
+### Making Enhanced OncoPrint |
|
86 | 85 |
|
87 | 86 |
 |
88 | 87 |
|
89 |
-#### UpSet plot |
|
88 |
+### UpSet plot |
|
90 | 89 |
|
91 |
- |
|
90 |
+ |
|
92 | 91 |
|
93 |
-### License |
|
92 |
+## License |
|
94 | 93 |
|
95 | 94 |
MIT @ Zuguang Gu |
96 | 95 |
|
... | ... |
@@ -67,7 +67,7 @@ |
67 | 67 |
</button> |
68 | 68 |
<span class="navbar-brand"> |
69 | 69 |
<a class="navbar-link" href="index.html">ComplexHeatmap</a> |
70 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
70 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
71 | 71 |
</span> |
72 | 72 |
</div> |
73 | 73 |
|
... | ... |
@@ -67,7 +67,7 @@ |
67 | 67 |
</button> |
68 | 68 |
<span class="navbar-brand"> |
69 | 69 |
<a class="navbar-link" href="index.html">ComplexHeatmap</a> |
70 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
70 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
71 | 71 |
</span> |
72 | 72 |
</div> |
73 | 73 |
|
... | ... |
@@ -31,7 +31,7 @@ |
31 | 31 |
</button> |
32 | 32 |
<span class="navbar-brand"> |
33 | 33 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
34 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
34 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
35 | 35 |
</span> |
36 | 36 |
</div> |
37 | 37 |
|
... | ... |
@@ -96,7 +96,8 @@ |
96 | 96 |
%\VignetteEngine{knitr} |
97 | 97 |
%\VignetteIndexEntry{ComplexHeatmap vignette} |
98 | 98 |
--> |
99 |
-<p>Please go to <a href="http://jokergoo.github.io/ComplexHeatmap-reference/book/" class="uri">http://jokergoo.github.io/ComplexHeatmap-reference/book/</a> for the full vignette.</p> |
|
99 |
+ |
|
100 |
+<p>Please go to <a href="http://jokergoo.github.io/ComplexHeatmap-reference/book/">http://jokergoo.github.io/ComplexHeatmap-reference/book/</a> for the full vignette.</p> |
|
100 | 101 |
</div> |
101 | 102 |
|
102 | 103 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
... | ... |
@@ -67,7 +67,7 @@ |
67 | 67 |
</button> |
68 | 68 |
<span class="navbar-brand"> |
69 | 69 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
70 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
70 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
71 | 71 |
</span> |
72 | 72 |
</div> |
73 | 73 |
|
... | ... |
@@ -31,7 +31,7 @@ |
31 | 31 |
</button> |
32 | 32 |
<span class="navbar-brand"> |
33 | 33 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
34 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
34 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
35 | 35 |
</span> |
36 | 36 |
</div> |
37 | 37 |
|
... | ... |
@@ -96,6 +96,7 @@ |
96 | 96 |
%\VignetteEngine{knitr} |
97 | 97 |
%\VignetteIndexEntry{Most probably asked questions} |
98 | 98 |
--> |
99 |
+ |
|
99 | 100 |
<div id="most-probably-asked-questions" class="section level2"> |
100 | 101 |
<h2 class="hasAnchor"> |
101 | 102 |
<a href="#most-probably-asked-questions" class="anchor"></a>Most probably asked questions</h2> |
... | ... |
@@ -107,40 +108,40 @@ h1, h2, h3, h4, h5 { |
107 | 108 |
<div id="there-is-no-plot-comming-out-after-running-heatmap-function-" class="section level3"> |
108 | 109 |
<h3 class="hasAnchor"> |
109 | 110 |
<a href="#there-is-no-plot-comming-out-after-running-heatmap-function-" class="anchor"></a>There is no plot comming out after running Heatmap() function.</h3> |
110 |
-<p>In this case, you need to use <code><a href="../reference/draw-dispatch.html">draw()</a></code> function explicitly. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html#plot-the-heatmap" class="uri">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html#plot-the-heatmap</a> and <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#plot-the-heamtap-list" class="uri">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#plot-the-heamtap-list</a>.</p> |
|
111 |
+<p>In this case, you need to use <code><a href="../reference/draw-dispatch.html">draw()</a></code> function explicitly. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html#plot-the-heatmap">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html#plot-the-heatmap</a> and <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#plot-the-heamtap-list">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#plot-the-heamtap-list</a>.</p> |
|
111 | 112 |
</div> |
112 | 113 |
<div id="retrieve-orders-and-dendrograms-" class="section level3"> |
113 | 114 |
<h3 class="hasAnchor"> |
114 | 115 |
<a href="#retrieve-orders-and-dendrograms-" class="anchor"></a>Retrieve orders and dendrograms.</h3> |
115 |
-<p>For retrieving orders and dendrograms from a single heatmap. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html#get-orders-and-dendrograms-from-heatmap" class="uri">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html#get-orders-and-dendrograms-from-heatmap</a>.</p> |
|
116 |
-<p>For retrieving orders and dendrograms from a list of heatmaps. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#get-orders-and-dendrograms-from-a-list-of-heatmaps" class="uri">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#get-orders-and-dendrograms-from-a-list-of-heatmaps</a>.</p> |
|
116 |
+<p>For retrieving orders and dendrograms from a single heatmap. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html#get-orders-and-dendrograms-from-heatmap">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-single-heatmap.html#get-orders-and-dendrograms-from-heatmap</a>.</p> |
|
117 |
+<p>For retrieving orders and dendrograms from a list of heatmaps. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#get-orders-and-dendrograms-from-a-list-of-heatmaps">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#get-orders-and-dendrograms-from-a-list-of-heatmaps</a>.</p> |
|
117 | 118 |
</div> |
118 | 119 |
<div id="how-should-i-control-the-height-or-width-of-the-heatmap-annotations" class="section level3"> |
119 | 120 |
<h3 class="hasAnchor"> |
120 | 121 |
<a href="#how-should-i-control-the-height-or-width-of-the-heatmap-annotations" class="anchor"></a>How should I control the height or width of the heatmap annotations?</h3> |
121 |
-<p>For complex annotations generated by <code>anno_*()</code> functions, width or height should be set inside the <code>anno_*()</code> function, such as <code><a href="../reference/anno_points.html">anno_points(..., height = ...)</a></code>. The size of simple annotations is controlled by <code>anno_simple_size</code>. The <code>width</code>/<code>height</code> and <code>annotation_width</code>/<code>annotation_height</code> are used to adjust the size for multiple annotations which are put in one <code>HeatmapAnnotation</code> object. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/heatmap-annotations.html#multiple-annotations" class="uri">https://jokergoo.github.io/ComplexHeatmap-reference/book/heatmap-annotations.html#multiple-annotations</a></p> |
|
122 |
+<p>For complex annotations generated by <code>anno_*()</code> functions, width or height should be set inside the <code>anno_*()</code> function, such as <code><a href="../reference/anno_points.html">anno_points(..., height = ...)</a></code>. The size of simple annotations is controlled by <code>anno_simple_size</code>. The <code>width</code>/<code>height</code> and <code>annotation_width</code>/<code>annotation_height</code> are used to adjust the size for multiple annotations which are put in one <code>HeatmapAnnotation</code> object. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/heatmap-annotations.html#multiple-annotations">https://jokergoo.github.io/ComplexHeatmap-reference/book/heatmap-annotations.html#multiple-annotations</a></p> |
|
122 | 123 |
</div> |
123 | 124 |
<div id="how-should-i-control-the-axes-of-the-annotations" class="section level3"> |
124 | 125 |
<h3 class="hasAnchor"> |
125 | 126 |
<a href="#how-should-i-control-the-axes-of-the-annotations" class="anchor"></a>How should I control the axes of the annotations?</h3> |
126 | 127 |
<p>In the annotation functions <code>anno_*()</code>, the argument <code>axis_param</code> can be used to set the axes. The value should be a list and the default settings for axis can be get by:</p> |
127 |
-<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw"><a href="../reference/default_axis_param.html">default_axis_param</a></span>(<span class="st">"column"</span>) |
|
128 |
-<span class="kw"><a href="../reference/default_axis_param.html">default_axis_param</a></span>(<span class="st">"row"</span>)</code></pre></div> |
|
128 |
+<pre class="sourceCode r"><code class="sourceCode r"><span class="kw"><a href="../reference/default_axis_param.html">default_axis_param</a></span>(<span class="st">"column"</span>) |
|
129 |
+<span class="kw"><a href="../reference/default_axis_param.html">default_axis_param</a></span>(<span class="st">"row"</span>)</code></pre> |
|
129 | 130 |
</div> |
130 | 131 |
<div id="how-to-control-the-style-of-legends" class="section level3"> |
131 | 132 |
<h3 class="hasAnchor"> |
132 | 133 |
<a href="#how-to-control-the-style-of-legends" class="anchor"></a>How to control the style of legends?</h3> |
133 |
-<p>The style of legends can be controlled by <code>heatmap_legend_param</code> in <code><a href="../reference/Heatmap.html">Heatmap()</a></code>, or <code>annotation_legend_param</code> in <code><a href="../reference/HeatmapAnnotation.html">HeatmapAnnotation()</a></code>. The parameters for controlling legends are those arguments in <code><a href="../reference/Legend.html">Legend()</a></code> function. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/legends.html#heatmap-and-annotation-legends" class="uri">https://jokergoo.github.io/ComplexHeatmap-reference/book/legends.html#heatmap-and-annotation-legends</a>.</p> |
|
134 |
+<p>The style of legends can be controlled by <code>heatmap_legend_param</code> in <code><a href="../reference/Heatmap.html">Heatmap()</a></code>, or <code>annotation_legend_param</code> in <code><a href="../reference/HeatmapAnnotation.html">HeatmapAnnotation()</a></code>. The parameters for controlling legends are those arguments in <code><a href="../reference/Legend.html">Legend()</a></code> function. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/legends.html#heatmap-and-annotation-legends">https://jokergoo.github.io/ComplexHeatmap-reference/book/legends.html#heatmap-and-annotation-legends</a>.</p> |
|
134 | 135 |
</div> |
135 | 136 |
<div id="some-text-are-cut-by-the-plotting-region-" class="section level3"> |
136 | 137 |
<h3 class="hasAnchor"> |
137 | 138 |
<a href="#some-text-are-cut-by-the-plotting-region-" class="anchor"></a>Some text are cut by the plotting region.</h3> |
138 |
-<p>The layout of the <strong>ComplexHeatmap</strong> is not perfect that it is still possible some of the text are drawn out of the plotting region. In this case, you can set the <code>padding</code> argument in <code><a href="../reference/draw-dispatch.html">draw()</a></code> function to increase the blank areas around the final plot. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#manually-increase-space-around-the-plot" class="uri">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#manually-increase-space-around-the-plot</a>.</p> |
|
139 |
+<p>The layout of the <strong>ComplexHeatmap</strong> is not perfect that it is still possible some of the text are drawn out of the plotting region. In this case, you can set the <code>padding</code> argument in <code><a href="../reference/draw-dispatch.html">draw()</a></code> function to increase the blank areas around the final plot. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#manually-increase-space-around-the-plot">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#manually-increase-space-around-the-plot</a>.</p> |
|
139 | 140 |
</div> |
140 | 141 |
<div id="can-the-heatmaps-be-added-vertically" class="section level3"> |
141 | 142 |
<h3 class="hasAnchor"> |
142 | 143 |
<a href="#can-the-heatmaps-be-added-vertically" class="anchor"></a>Can the heatmaps be added vertically?</h3> |
143 |
-<p>Yes, use <code><a href="../reference/pct_v_pct.html">%v%</a></code> instead of <code><a href="https://rdrr.io/r/base/Arithmetic.html">+</a></code>. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#vertical-concatenation" class="uri">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#vertical-concatenation</a>.</p> |
|
144 |
+<p>Yes, use <code><a href="../reference/pct_v_pct.html">%v%</a></code> instead of <code><a href="https://rdrr.io/r/base/Arithmetic.html">+</a></code>. See <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#vertical-concatenation">https://jokergoo.github.io/ComplexHeatmap-reference/book/a-list-of-heatmaps.html#vertical-concatenation</a>.</p> |
|
144 | 145 |
</div> |
145 | 146 |
<div id="does-heatmap-title-supports-mathematical-expression" class="section level3"> |
146 | 147 |
<h3 class="hasAnchor"> |
... | ... |
@@ -151,29 +152,29 @@ h1, h2, h3, h4, h5 { |
151 | 152 |
<h3 class="hasAnchor"> |
152 | 153 |
<a href="#i-have-many-heatmaps-and-i-want-to-put-them-into-different-panels-for-a-big-figure-for-my-paper-" class="anchor"></a>I have many heatmaps and I want to put them into different panels for a big figure for my paper.</h3> |
153 | 154 |
<p>You can set <code>newpage = FALSE</code> in <code><a href="../reference/draw-dispatch.html">draw()</a></code> function and use <code>grid.layout()</code> to manage the layout of your panels.</p> |
154 |
-<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">pushViewport</span>(<span class="kw">viewport</span>(<span class="dt">layout =</span> <span class="kw">grid.layout</span>(...))) |
|
155 |
+<pre class="sourceCode r"><code class="sourceCode r"><span class="kw">pushViewport</span>(<span class="kw">viewport</span>(<span class="dt">layout =</span> <span class="kw">grid.layout</span>(...))) |
|
155 | 156 |
<span class="kw">pushViewport</span>(<span class="kw">viewport</span>(<span class="dt">layout.pos.row =</span> ..., <span class="dt">layout.pos.col =</span> ...)) |
156 | 157 |
<span class="kw"><a href="../reference/draw-dispatch.html">draw</a></span>(ht, <span class="dt">newpage =</span> <span class="ot">FALSE</span>) <span class="co"># or draw(ht_list, newpage = FALSE)</span> |
157 | 158 |
<span class="kw">popViewport</span>() |
158 |
-...</code></pre></div> |
|
159 |
+...</code></pre> |
|
159 | 160 |
<p>But I more suggest to use <code>grid.grabExpr()</code> to directly capture the output of the heatmap and later draw the whole plot as a single graphic element by <code>grid.draw()</code>.</p> |
160 |
-<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">ht_grob =<span class="st"> </span><span class="kw">grid.grabExpr</span>(<span class="kw"><a href="../reference/draw-dispatch.html">draw</a></span>(ht, ...)) |
|
161 |
+<pre class="sourceCode r"><code class="sourceCode r">ht_grob =<span class="st"> </span><span class="kw">grid.grabExpr</span>(<span class="kw"><a href="../reference/draw-dispatch.html">draw</a></span>(ht, ...)) |
|
161 | 162 |
|
162 | 163 |
<span class="kw">pushViewport</span>(<span class="kw">viewport</span>(<span class="dt">layout =</span> <span class="kw">grid.layout</span>(...))) |
163 | 164 |
<span class="kw">pushViewport</span>(<span class="kw">viewport</span>(<span class="dt">layout.pos.row =</span> ..., <span class="dt">layout.pos.col =</span> ...)) |
164 | 165 |
<span class="kw">grid.draw</span>(ht_grob) |
165 | 166 |
<span class="kw">popViewport</span>() |
166 |
-...</code></pre></div> |
|
167 |
+...</code></pre> |
|
167 | 168 |
</div> |
168 | 169 |
<div id="i-have-a-matrix-with-too-many-rows-and-i-want-to-simplify-the-row-dendrogram-" class="section level3"> |
169 | 170 |
<h3 class="hasAnchor"> |
170 | 171 |
<a href="#i-have-a-matrix-with-too-many-rows-and-i-want-to-simplify-the-row-dendrogram-" class="anchor"></a>I have a matrix with too many rows and I want to simplify the row dendrogram.</h3> |
171 | 172 |
<p>You can first group your rows into several groups and make a group-level dendrogram on it. See following example:</p> |
172 |
-<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">m =<span class="st"> </span><span class="kw"><a href="https://rdrr.io/r/base/matrix.html">matrix</a></span>(<span class="kw"><a href="https://rdrr.io/r/stats/Normal.html">rnorm</a></span>(<span class="dv">1000</span><span class="op">*</span><span class="dv">10</span>), <span class="dt">nr =</span> <span class="dv">1000</span>) |
|
173 |
+<pre class="sourceCode r"><code class="sourceCode r">m =<span class="st"> </span><span class="kw"><a href="https://rdrr.io/r/base/matrix.html">matrix</a></span>(<span class="kw"><a href="https://rdrr.io/r/stats/Normal.html">rnorm</a></span>(<span class="dv">1000</span>*<span class="dv">10</span>), <span class="dt">nr =</span> <span class="dv">1000</span>) |
|
173 | 174 |
hc =<span class="st"> </span><span class="kw"><a href="https://rdrr.io/r/stats/hclust.html">hclust</a></span>(<span class="kw"><a href="https://rdrr.io/r/stats/dist.html">dist</a></span>(m)) |
174 | 175 |
group =<span class="st"> </span><span class="kw"><a href="https://rdrr.io/r/stats/cutree.html">cutree</a></span>(hc, <span class="dt">k =</span> <span class="dv">6</span>) |
175 | 176 |
<span class="kw"><a href="../reference/Heatmap.html">Heatmap</a></span>(m, <span class="dt">cluster_rows =</span> <span class="kw"><a href="../reference/cluster_within_group.html">cluster_within_group</a></span>(<span class="kw"><a href="https://rdrr.io/r/base/t.html">t</a></span>(m), group), |
176 |
- <span class="dt">row_split =</span> <span class="dv">6</span>, <span class="dt">border =</span> <span class="ot">TRUE</span>) <span class="co"># it would be better if also set row_split</span></code></pre></div> |
|
177 |
+ <span class="dt">row_split =</span> <span class="dv">6</span>, <span class="dt">border =</span> <span class="ot">TRUE</span>) <span class="co"># it would be better if also set row_split</span></code></pre> |
|
177 | 178 |
<p><img src="most_probably_asked_questions_files/figure-html/unnamed-chunk-6-1.png" width="700"></p> |
178 | 179 |
</div> |
179 | 180 |
<div id="i-have-a-matrix-with-huge-nunmber-of-rows-or-columns-what-is-the-efficient-way-to-visualize-it" class="section level3"> |
... | ... |
@@ -185,7 +186,7 @@ group =<span class="st"> </span><span class="kw"><a href="https://rdrr.io/r/stat |
185 | 186 |
<h3 class="hasAnchor"> |
186 | 187 |
<a href="#how-to-add-axes-for-dendrograms" class="anchor"></a>How to add axes for dendrograms?</h3> |
187 | 188 |
<p>You need to use <code><a href="../reference/decorate_row_dend.html">decorate_row_dend()</a></code> or <code><a href="../reference/decorate_column_dend.html">decorate_column_dend()</a></code> to manually add the axes. See following examples:</p> |
188 |
-<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">m =<span class="st"> </span><span class="kw"><a href="https://rdrr.io/r/base/matrix.html">matrix</a></span>(<span class="kw"><a href="https://rdrr.io/r/stats/Normal.html">rnorm</a></span>(<span class="dv">100</span>), <span class="dv">10</span>) |
|
189 |
+<pre class="sourceCode r"><code class="sourceCode r">m =<span class="st"> </span><span class="kw"><a href="https://rdrr.io/r/base/matrix.html">matrix</a></span>(<span class="kw"><a href="https://rdrr.io/r/stats/Normal.html">rnorm</a></span>(<span class="dv">100</span>), <span class="dv">10</span>) |
|
189 | 190 |
|
190 | 191 |
ht =<span class="st"> </span><span class="kw"><a href="../reference/Heatmap.html">Heatmap</a></span>(m, <span class="dt">name =</span> <span class="st">"foo"</span>, |
191 | 192 |
<span class="dt">row_dend_width =</span> <span class="kw">unit</span>(<span class="dv">4</span>, <span class="st">"cm"</span>), |
... | ... |
@@ -197,9 +198,9 @@ ht =<span class="st"> </span><span class="kw"><a href="../reference/Heatmap.html |
197 | 198 |
}) |
198 | 199 |
<span class="kw"><a href="../reference/decorate_row_dend.html">decorate_row_dend</a></span>(<span class="st">"foo"</span>, { |
199 | 200 |
vp =<span class="st"> </span><span class="kw">current.viewport</span>() |
200 |
- xscale =<span class="st"> </span>vp<span class="op">$</span>xscale |
|
201 |
- <span class="kw">grid.xaxis</span>(<span class="dt">at =</span> xscale[<span class="dv">2</span>] <span class="op">-</span><span class="st"> </span><span class="dv">0</span><span class="op">:</span><span class="dv">5</span>, <span class="dt">label =</span> <span class="dv">0</span><span class="op">:</span><span class="dv">5</span>) |
|
202 |
-})</code></pre></div> |
|
201 |
+ xscale =<span class="st"> </span>vp$xscale |
|
202 |
+ <span class="kw">grid.xaxis</span>(<span class="dt">at =</span> xscale[<span class="dv">2</span>] -<span class="st"> </span><span class="dv">0</span>:<span class="dv">5</span>, <span class="dt">label =</span> <span class="dv">0</span>:<span class="dv">5</span>) |
|
203 |
+})</code></pre> |
|
203 | 204 |
<p><img src="most_probably_asked_questions_files/figure-html/unnamed-chunk-7-1.png" width="700"></p> |
204 | 205 |
<p>Note for the left row dendrogram, the x-axis is from right to left, you need to self-define <code>at</code> and <code>label</code> in <code>grid.xaxis()</code> function.</p> |
205 | 206 |
<p>You can also check <code><a href="../reference/annotation_axis_grob.html">annotation_axis_grob()</a></code> function (later use <code>grid.draw()</code> to draw the axes) to draw a nicer axis.</p> |
... | ... |
@@ -217,19 +218,19 @@ ht =<span class="st"> </span><span class="kw"><a href="../reference/Heatmap.html |
217 | 218 |
<h3 class="hasAnchor"> |
218 | 219 |
<a href="#i-only-want-to-draw-dendrograms-plus-a-list-of-annotations-" class="anchor"></a>I only want to draw dendrograms plus a list of annotations.</h3> |
219 | 220 |
<p>You need to assign the dendrograms to a zero-row/column matrix:</p> |
220 |
-<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">hc =<span class="st"> </span><span class="kw"><a href="https://rdrr.io/r/stats/hclust.html">hclust</a></span>(<span class="kw"><a href="https://rdrr.io/r/stats/dist.html">dist</a></span>(<span class="kw"><a href="https://rdrr.io/r/base/matrix.html">matrix</a></span>(<span class="kw"><a href="https://rdrr.io/r/stats/Normal.html">rnorm</a></span>(<span class="dv">100</span>), <span class="dv">10</span>))) |
|
221 |
+<pre class="sourceCode r"><code class="sourceCode r">hc =<span class="st"> </span><span class="kw"><a href="https://rdrr.io/r/stats/hclust.html">hclust</a></span>(<span class="kw"><a href="https://rdrr.io/r/stats/dist.html">dist</a></span>(<span class="kw"><a href="https://rdrr.io/r/base/matrix.html">matrix</a></span>(<span class="kw"><a href="https://rdrr.io/r/stats/Normal.html">rnorm</a></span>(<span class="dv">100</span>), <span class="dv">10</span>))) |
|
221 | 222 |
<span class="kw"><a href="../reference/Heatmap.html">Heatmap</a></span>(<span class="kw"><a href="https://rdrr.io/r/base/matrix.html">matrix</a></span>(<span class="dt">nc =</span> <span class="dv">0</span>, <span class="dt">nr =</span> <span class="dv">10</span>), <span class="dt">cluster_rows =</span> hc, |
222 | 223 |
<span class="dt">right_annotation =</span> <span class="kw"><a href="../reference/rowAnnotation.html">rowAnnotation</a></span>( |
223 |
- <span class="dt">foo =</span> <span class="kw"><a href="../reference/anno_points.html">anno_points</a></span>(<span class="dv">1</span><span class="op">:</span><span class="dv">10</span>), |
|
224 |
- <span class="dt">sth =</span> <span class="dv">1</span><span class="op">:</span><span class="dv">10</span>, |
|
225 |
- <span class="dt">bar =</span> <span class="kw"><a href="../reference/anno_barplot.html">anno_barplot</a></span>(<span class="dv">1</span><span class="op">:</span><span class="dv">10</span>)), |
|
226 |
- <span class="dt">row_split =</span> <span class="dv">2</span>)</code></pre></div> |
|
224 |
+ <span class="dt">foo =</span> <span class="kw"><a href="../reference/anno_points.html">anno_points</a></span>(<span class="dv">1</span>:<span class="dv">10</span>), |
|
225 |
+ <span class="dt">sth =</span> <span class="dv">1</span>:<span class="dv">10</span>, |
|
226 |
+ <span class="dt">bar =</span> <span class="kw"><a href="../reference/anno_barplot.html">anno_barplot</a></span>(<span class="dv">1</span>:<span class="dv">10</span>)), |
|
227 |
+ <span class="dt">row_split =</span> <span class="dv">2</span>)</code></pre> |
|
227 | 228 |
<p><img src="most_probably_asked_questions_files/figure-html/unnamed-chunk-8-1.png" width="700"></p> |
228 | 229 |
</div> |
229 | 230 |
<div id="i-still-have-a-problem-with-the-package-and-i-am-lost-in-the-ocean-of-the-huge-vignette-" class="section level3"> |
230 | 231 |
<h3 class="hasAnchor"> |
231 | 232 |
<a href="#i-still-have-a-problem-with-the-package-and-i-am-lost-in-the-ocean-of-the-huge-vignette-" class="anchor"></a>I still have a problem with the package and I am lost in the ocean of the huge vignette.</h3> |
232 |
-<p>The vignette (<a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/" class="uri">https://jokergoo.github.io/ComplexHeatmap-reference/book/</a>) contains huge number of examples and plots showing different usage of the package. It is sometimes not easy to find the solution you are looking for. In this case, don’t hesitate to write me an email. I am glad to answer all of your questions!</p> |
|
233 |
+<p>The vignette (<a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/">https://jokergoo.github.io/ComplexHeatmap-reference/book/</a>) contains huge number of examples and plots showing different usage of the package. It is sometimes not easy to find the solution you are looking for. In this case, don’t hesitate to write me an email. I am glad to answer all of your questions!</p> |
|
233 | 234 |
</div> |
234 | 235 |
</div> |
235 | 236 |
</div> |
... | ... |
@@ -67,7 +67,7 @@ |
67 | 67 |
</button> |
68 | 68 |
<span class="navbar-brand"> |
69 | 69 |
<a class="navbar-link" href="index.html">ComplexHeatmap</a> |
70 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
70 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
71 | 71 |
</span> |
72 | 72 |
</div> |
73 | 73 |
|
... | ... |
@@ -34,7 +34,7 @@ |
34 | 34 |
</button> |
35 | 35 |
<span class="navbar-brand"> |
36 | 36 |
<a class="navbar-link" href="index.html">ComplexHeatmap</a> |
37 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
37 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
38 | 38 |
</span> |
39 | 39 |
</div> |
40 | 40 |
|
... | ... |
@@ -84,85 +84,78 @@ |
84 | 84 |
|
85 | 85 |
</header><div class="row"> |
86 | 86 |
<div class="contents col-md-9"> |
87 |
+<div id="make-complex-heatmaps" class="section level1"> |
|
88 |
+<div class="page-header"><h1 class="hasAnchor"> |
|
89 |
+<a href="#make-complex-heatmaps" class="anchor"></a>Make Complex Heatmaps <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/"><img src="https://jokergoo.github.io/ComplexHeatmap-reference/book/complexheatmap-cover.jpg" width="240" align="right" style="border:2px solid black;"></a> |
|
90 |
+</h1></div> |
|
87 | 91 |
|
88 |
- |
|
89 |
-<p><a href="https://travis-ci.org/jokergoo/ComplexHeatmap"><img src="https://travis-ci.org/jokergoo/ComplexHeatmap.svg" alt="Build Status"></a> <a href="https://codecov.io/github/jokergoo/ComplexHeatmap"><img src="https://img.shields.io/codecov/c/github/jokergoo/ComplexHeatmap.svg" alt="codecov"></a> <a href="https://bioconductor.org/packages/stats/bioc/ComplexHeatmap/"><img src="http://www.bioconductor.org/shields/downloads/devel/ComplexHeatmap.svg" alt="bioc"></a> <a href="https://bioconductor.org/packages/stats/bioc/ComplexHeatmap/"><embed src="http://mcube.nju.edu.cn/cgi-bin/zuguanggu/bioc_download.pl?package=ComplexHeatmap&"></embed></a> <a href="http://bioconductor.org/packages/devel/bioc/html/ComplexHeatmap.html"><img src="http://www.bioconductor.org/shields/years-in-bioc/ComplexHeatmap.svg" alt="bioc"></a></p> |
|
90 | 92 |
<p><img src="http://jokergoo.github.io/complexheatmap_logo.svg" width="600"></p> |
91 |
-<div id="make-complex-heatmaps" class="section level2"> |
|
92 |
-<h2 class="hasAnchor"> |
|
93 |
-<a href="#make-complex-heatmaps" class="anchor"></a>Make Complex Heatmaps</h2> |
|
94 | 93 |
<p>Complex heatmaps are efficient to visualize associations between different sources of data sets and reveal potential patterns. Here the <strong>ComplexHeatmap</strong> package provides a highly flexible way to arrange multiple heatmaps and supports various annotation graphics.</p> |
95 |
-<div id="citation" class="section level3"> |
|
96 |
-<h3 class="hasAnchor"> |
|
97 |
-<a href="#citation" class="anchor"></a>Citation</h3> |
|
94 |
+<div id="citation" class="section level2"> |
|
95 |
+<h2 class="hasAnchor"> |
|
96 |
+<a href="#citation" class="anchor"></a>Citation</h2> |
|
98 | 97 |
<p>Zuguang Gu, Roland Eils and Matthias Schlesner, <a href="http://bioinformatics.oxfordjournals.org/content/early/2016/05/20/bioinformatics.btw313.abstract">Complex heatmaps reveal patterns and correlations in multidimensional genomic data</a>, Bioinformatics, 2016</p> |
99 | 98 |
</div> |
100 |
-<div id="documentation" class="section level3"> |
|
101 |
-<h3 class="hasAnchor"> |
|
102 |
-<a href="#documentation" class="anchor"></a>Documentation</h3> |
|
103 |
-<p>The full documentations are available at <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/" class="uri">https://jokergoo.github.io/ComplexHeatmap-reference/book/</a>.</p> |
|
99 |
+<div id="documentation" class="section level2"> |
|
100 |
+<h2 class="hasAnchor"> |
|
101 |
+<a href="#documentation" class="anchor"></a>Documentation</h2> |
|
102 |
+<p>The full documentations are available at <a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/">https://jokergoo.github.io/ComplexHeatmap-reference/book/</a>.</p> |
|
104 | 103 |
</div> |
105 |
-<div id="install" class="section level3"> |
|
106 |
-<h3 class="hasAnchor"> |
|
107 |
-<a href="#install" class="anchor"></a>Install</h3> |
|
104 |
+<div id="install" class="section level2"> |
|
105 |
+<h2 class="hasAnchor"> |
|
106 |
+<a href="#install" class="anchor"></a>Install</h2> |
|
108 | 107 |
<p><code>ComplexHeatmap</code> is available on <a href="http://www.bioconductor.org/packages/devel/bioc/html/ComplexHeatmap.html">Bioconductor</a>, you can install it by:</p> |
109 |
-<pre class="{r}"><code>if (!requireNamespace("BiocManager", quietly=TRUE)) |
|
110 |
- install.packages("BiocManager") |
|
111 |
-BiocManager::install("ComplexHeatmap")</code></pre> |
|
108 |
+<p><code>{r} if (!requireNamespace("BiocManager", quietly=TRUE)) install.packages("BiocManager") BiocManager::install("ComplexHeatmap")</code></p> |
|
112 | 109 |
<p>If you want the latest version, install it directly from GitHub:</p> |
113 |
-<pre class="{r}"><code><a href="https://rdrr.io/r/base/library.html">library(devtools) |
|
114 |
-install_github("jokergoo/ComplexHeatmap")</a></code></pre> |
|
110 |
+<p><code>{r} library(devtools) install_github("jokergoo/ComplexHeatmap")</code></p> |
|
115 | 111 |
</div> |
116 |
-<div id="usage" class="section level3"> |
|
117 |
-<h3 class="hasAnchor"> |
|
118 |
-<a href="#usage" class="anchor"></a>Usage</h3> |
|
112 |
+<div id="usage" class="section level2"> |
|
113 |
+<h2 class="hasAnchor"> |
|
114 |
+<a href="#usage" class="anchor"></a>Usage</h2> |
|
119 | 115 |
<p>Make a single heatmap:</p> |
120 |
-<pre class="{r}"><code><a href="reference/Heatmap.html">Heatmap(mat, ...)</a></code></pre> |
|
116 |
+<p><code>{r} Heatmap(mat, ...)</code></p> |
|
121 | 117 |
<p>A single Heatmap with column annotations:</p> |
122 |
-<pre class="{r}"><code>ha = HeatmapAnnotation(df = anno1, anno_fun = anno2, ...) |
|
123 |
-Heatmap(mat, ..., top_annotation = ha)</code></pre> |
|
118 |
+<p><code>{r} ha = HeatmapAnnotation(df = anno1, anno_fun = anno2, ...) Heatmap(mat, ..., top_annotation = ha)</code></p> |
|
124 | 119 |
<p>Make a list of heatmaps:</p> |
125 |
-<pre class="{r}"><code>Heatmap(mat1, ...) + Heatmap(mat2, ...)</code></pre> |
|
120 |
+<p><code>{r} Heatmap(mat1, ...) + Heatmap(mat2, ...)</code></p> |
|
126 | 121 |
<p>Make a list of heatmaps and row annotations:</p> |
127 |
-<pre class="{r}"><code>ha = HeatmapAnnotation(df = anno1, anno_fun = anno2, ..., which = "row") |
|
128 |
-Heatmap(mat1, ...) + Heatmap(mat2, ...) + ha</code></pre> |
|
122 |
+<p><code>{r} ha = HeatmapAnnotation(df = anno1, anno_fun = anno2, ..., which = "row") Heatmap(mat1, ...) + Heatmap(mat2, ...) + ha</code></p> |
|
129 | 123 |
</div> |
130 |
-<div id="examples" class="section level3"> |
|
124 |
+<div id="examples" class="section level2"> |
|
125 |
+<h2 class="hasAnchor"> |
|
126 |
+<a href="#examples" class="anchor"></a>Examples</h2> |
|
127 |
+<div id="visualize-methylation-profile-with-complex-annotations" class="section level3"> |
|
131 | 128 |
<h3 class="hasAnchor"> |
132 |
-<a href="#examples" class="anchor"></a>Examples</h3> |
|
133 |
-<div id="visualize-methylation-profile-with-complex-annotations" class="section level4"> |
|
134 |
-<h4 class="hasAnchor"> |
|
135 |
-<a href="#visualize-methylation-profile-with-complex-annotations" class="anchor"></a>Visualize Methylation Profile with Complex Annotations</h4> |
|
129 |
+<a href="#visualize-methylation-profile-with-complex-annotations" class="anchor"></a>Visualize Methylation Profile with Complex Annotations</h3> |
|
136 | 130 |
<p><img src="https://user-images.githubusercontent.com/449218/47718635-2ec22980-dc49-11e8-9f01-37becb19e0d5.png" alt="complexheatmap_example4"></p> |
137 | 131 |
</div> |
138 |
-<div id="correlations-between-methylation-expression-and-other-genomic-features" class="section level4"> |
|
139 |
-<h4 class="hasAnchor"> |
|
140 |
-<a href="#correlations-between-methylation-expression-and-other-genomic-features" class="anchor"></a>Correlations between methylation, expression and other genomic features</h4> |
|
132 |
+<div id="correlations-between-methylation-expression-and-other-genomic-features" class="section level3"> |
|
133 |
+<h3 class="hasAnchor"> |
|
134 |
+<a href="#correlations-between-methylation-expression-and-other-genomic-features" class="anchor"></a>Correlations between methylation, expression and other genomic features</h3> |
|
141 | 135 |
<p><img src="https://user-images.githubusercontent.com/449218/47718636-2ec22980-dc49-11e8-8db0-1659c27dcf40.png" alt="complexheatmap_example3"></p> |
142 | 136 |
</div> |
143 |
-<div id="visualize-cell-heterogeneity-from-single-cell-rnaseq" class="section level4"> |
|
144 |
-<h4 class="hasAnchor"> |
|
145 |
-<a href="#visualize-cell-heterogeneity-from-single-cell-rnaseq" class="anchor"></a>Visualize Cell Heterogeneity from Single Cell RNASeq</h4> |
|
137 |
+<div id="visualize-cell-heterogeneity-from-single-cell-rnaseq" class="section level3"> |
|
138 |
+<h3 class="hasAnchor"> |
|
139 |
+<a href="#visualize-cell-heterogeneity-from-single-cell-rnaseq" class="anchor"></a>Visualize Cell Heterogeneity from Single Cell RNASeq</h3> |
|
146 | 140 |
<p><img src="https://user-images.githubusercontent.com/449218/47718637-2ec22980-dc49-11e8-925e-955c16cfa982.png" alt="complexheatmap_example2"></p> |
147 | 141 |
</div> |
148 |
-<div id="making-enhanced-oncoprint" class="section level4"> |
|
149 |
-<h4 class="hasAnchor"> |
|
150 |
-<a href="#making-enhanced-oncoprint" class="anchor"></a>Making Enhanced OncoPrint</h4> |
|
142 |
+<div id="making-enhanced-oncoprint" class="section level3"> |
|
143 |
+<h3 class="hasAnchor"> |
|
144 |
+<a href="#making-enhanced-oncoprint" class="anchor"></a>Making Enhanced OncoPrint</h3> |
|
151 | 145 |
<p><img src="https://user-images.githubusercontent.com/449218/47718638-2ec22980-dc49-11e8-845e-21e51d3b8e73.png" alt="complexheatmap_example1"></p> |
152 | 146 |
</div> |
153 |
-<div id="upset-plot" class="section level4"> |
|
154 |
-<h4 class="hasAnchor"> |
|
155 |
-<a href="#upset-plot" class="anchor"></a>UpSet plot</h4> |
|
156 |
-<p><embed src="https://pbs.twimg.com/media/Dvpp31uX4AAqGDP.jpg:large"></embed></p> |
|
147 |
+<div id="upset-plot" class="section level3"> |
|
148 |
+<h3 class="hasAnchor"> |
|
149 |
+<a href="#upset-plot" class="anchor"></a>UpSet plot</h3> |
|
150 |
+<p><img src="https://pbs.twimg.com/media/Dvpp31uX4AAqGDP.jpg"></p> |
|
157 | 151 |
</div> |
158 | 152 |
</div> |
159 |
-<div id="license" class="section level3"> |
|
160 |
-<h3 class="hasAnchor"> |
|
161 |
-<a href="#license" class="anchor"></a>License</h3> |
|
153 |
+<div id="license" class="section level2"> |
|
154 |
+<h2 class="hasAnchor"> |
|
155 |
+<a href="#license" class="anchor"></a>License</h2> |
|
162 | 156 |
<p>MIT @ Zuguang Gu</p> |
163 | 157 |
</div> |
164 | 158 |
</div> |
165 |
- |
|
166 | 159 |
</div> |
167 | 160 |
|
168 | 161 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
... | ... |
@@ -199,7 +192,11 @@ Heatmap(mat1, ...) + Heatmap(mat2, ...) + ha</code></pre> |
199 | 192 |
<div class="dev-status"> |
200 | 193 |
<h2>Dev status</h2> |
201 | 194 |
<ul class="list-unstyled"> |
202 |
-<li><a href="https://jokergoo.github.io/ComplexHeatmap-reference/book/"><img src="https://jokergoo.github.io/ComplexHeatmap-reference/book/complexheatmap-cover.jpg" width="240" align="right" style="border:2px solid black;"></a></li> |
|
195 |
+<li><a href="https://travis-ci.org/jokergoo/ComplexHeatmap"><img src="https://travis-ci.org/jokergoo/ComplexHeatmap.svg" alt="Build Status"></a></li> |
|
196 |
+<li><a href="https://codecov.io/github/jokergoo/ComplexHeatmap"><img src="https://img.shields.io/codecov/c/github/jokergoo/ComplexHeatmap.svg" alt="codecov"></a></li> |
|
197 |
+<li><a href="https://bioconductor.org/packages/stats/bioc/ComplexHeatmap/"><img src="http://www.bioconductor.org/shields/downloads/devel/ComplexHeatmap.svg" alt="bioc"></a></li> |
|
198 |
+<li><a href="https://bioconductor.org/packages/stats/bioc/ComplexHeatmap/"><embed src="http://mcube.nju.edu.cn/cgi-bin/zuguanggu/bioc_download.pl?package=ComplexHeatmap&"></embed></a></li> |
|
199 |
+<li><a href="http://bioconductor.org/packages/devel/bioc/html/ComplexHeatmap.html"><img src="http://www.bioconductor.org/shields/years-in-bioc/ComplexHeatmap.svg" alt="bioc"></a></li> |
|
203 | 200 |
</ul> |
204 | 201 |
</div> |
205 | 202 |
</div> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -139,8 +139,7 @@ method and the <code>%v%v</code> method so that above three classes can be appen |
139 | 139 |
|
140 | 140 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
141 | 141 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
142 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
143 |
-</div></pre> |
|
142 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
144 | 143 |
</div> |
145 | 144 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
146 | 145 |
<h2>Contents</h2> |
... | ... |
@@ -8,11 +8,13 @@ |
8 | 8 |
|
9 | 9 |
<title>Class for Concatenating Heatmaps and Annotations — AdditiveUnit-class • ComplexHeatmap</title> |
10 | 10 |
|
11 |
+ |
|
11 | 12 |
<!-- jquery --> |
12 | 13 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> |
13 | 14 |
<!-- Bootstrap --> |
14 | 15 |
|
15 | 16 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" /> |
17 |
+ |
|
16 | 18 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script> |
17 | 19 |
|
18 | 20 |
<!-- Font Awesome icons --> |
... | ... |
@@ -32,13 +34,14 @@ |
32 | 34 |
|
33 | 35 |
|
34 | 36 |
|
35 |
-<meta property="og:title" content="Class for Concatenating Heatmaps and Annotations — AdditiveUnit-class" /> |
|
36 | 37 |
|
38 |
+<meta property="og:title" content="Class for Concatenating Heatmaps and Annotations — AdditiveUnit-class" /> |
|
37 | 39 |
<meta property="og:description" content="Class for Concatenating Heatmaps and Annotations" /> |
38 | 40 |
<meta name="twitter:card" content="summary" /> |
39 | 41 |
|
40 | 42 |
|
41 | 43 |
|
44 |
+ |
|
42 | 45 |
<!-- mathjax --> |
43 | 46 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script> |
44 | 47 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script> |
... | ... |
@@ -66,7 +69,7 @@ |
66 | 69 |
</button> |
67 | 70 |
<span class="navbar-brand"> |
68 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
69 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
70 | 73 |
</span> |
71 | 74 |
</div> |
72 | 75 |
|
... | ... |
@@ -97,7 +100,6 @@ |
97 | 100 |
</ul> |
98 | 101 |
</li> |
99 | 102 |
</ul> |
100 |
- |
|
101 | 103 |
<ul class="nav navbar-nav navbar-right"> |
102 | 104 |
<li> |
103 | 105 |
<a href="https://github.com/jokergoo/ComplexHeatmap"> |
... | ... |
@@ -124,18 +126,16 @@ |
124 | 126 |
</div> |
125 | 127 |
|
126 | 128 |
<div class="ref-description"> |
127 |
- |
|
128 | 129 |
<p>Class for Concatenating Heatmaps and Annotations</p> |
129 |
- |
|
130 | 130 |
</div> |
131 | 131 |
|
132 |
- |
|
132 |
+ |
|
133 |
+ |
|
133 | 134 |
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2> |
134 | 135 |
|
135 | 136 |
<p>This class is a super class for <code><a href='Heatmap-class.rd.html'>Heatmap-class</a></code>, <code><a href='HeatmapList-class.rd.html'>HeatmapList-class</a></code> and |
136 | 137 |
<code><a href='HeatmapAnnotation-class.rd.html'>HeatmapAnnotation-class</a></code> classes. It is only designed for <code>+</code> generic |
137 | 138 |
method and the <code>%v%v</code> method so that above three classes can be appended to each other.</p> |
138 |
- |
|
139 | 139 |
|
140 | 140 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
141 | 141 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
... | ... |
@@ -145,9 +145,7 @@ method and the <code>%v%v</code> method so that above three classes can be appen |
145 | 145 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
146 | 146 |
<h2>Contents</h2> |
147 | 147 |
<ul class="nav nav-pills nav-stacked"> |
148 |
- |
|
149 | 148 |
<li><a href="#details">Details</a></li> |
150 |
- |
|
151 | 149 |
<li><a href="#examples">Examples</a></li> |
152 | 150 |
</ul> |
153 | 151 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -149,8 +149,7 @@ |
149 | 149 |
|
150 | 150 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
151 | 151 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
152 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
153 |
-</div></pre> |
|
152 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
154 | 153 |
</div> |
155 | 154 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
156 | 155 |
<h2>Contents</h2> |
... | ... |
@@ -8,11 +8,13 @@ |
8 | 8 |
|
9 | 9 |
<title>Constructor Method for AdditiveUnit Class — AdditiveUnit • ComplexHeatmap</title> |
10 | 10 |
|
11 |
+ |
|
11 | 12 |
<!-- jquery --> |
12 | 13 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> |
13 | 14 |
<!-- Bootstrap --> |
14 | 15 |
|
15 | 16 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" /> |
17 |
+ |
|
16 | 18 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script> |
17 | 19 |
|
18 | 20 |
<!-- Font Awesome icons --> |
... | ... |
@@ -32,13 +34,14 @@ |
32 | 34 |
|
33 | 35 |
|
34 | 36 |
|
35 |
-<meta property="og:title" content="Constructor Method for AdditiveUnit Class — AdditiveUnit" /> |
|
36 | 37 |
|
38 |
+<meta property="og:title" content="Constructor Method for AdditiveUnit Class — AdditiveUnit" /> |
|
37 | 39 |
<meta property="og:description" content="Constructor Method for AdditiveUnit Class" /> |
38 | 40 |
<meta name="twitter:card" content="summary" /> |
39 | 41 |
|
40 | 42 |
|
41 | 43 |
|
44 |
+ |
|
42 | 45 |
<!-- mathjax --> |
43 | 46 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script> |
44 | 47 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script> |
... | ... |
@@ -66,7 +69,7 @@ |
66 | 69 |
</button> |
67 | 70 |
<span class="navbar-brand"> |
68 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
69 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
70 | 73 |
</span> |
71 | 74 |
</div> |
72 | 75 |
|
... | ... |
@@ -97,7 +100,6 @@ |
97 | 100 |
</ul> |
98 | 101 |
</li> |
99 | 102 |
</ul> |
100 |
- |
|
101 | 103 |
<ul class="nav navbar-nav navbar-right"> |
102 | 104 |
<li> |
103 | 105 |
<a href="https://github.com/jokergoo/ComplexHeatmap"> |
... | ... |
@@ -124,13 +126,11 @@ |
124 | 126 |
</div> |
125 | 127 |
|
126 | 128 |
<div class="ref-description"> |
127 |
- |
|
128 | 129 |
<p>Constructor Method for AdditiveUnit Class</p> |
129 |
- |
|
130 | 130 |
</div> |
131 | 131 |
|
132 | 132 |
<pre class="usage"><span class='fu'><a href='AdditiveUnit.rd.html'>AdditiveUnit</a></span>(<span class='no'>...</span>)</pre> |
133 |
- |
|
133 |
+ |
|
134 | 134 |
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2> |
135 | 135 |
<table class="ref-arguments"> |
136 | 136 |
<colgroup><col class="name" /><col class="desc" /></colgroup> |
... | ... |
@@ -139,15 +139,13 @@ |
139 | 139 |
<td><p>Black hole arguments.</p></td> |
140 | 140 |
</tr> |
141 | 141 |
</table> |
142 |
- |
|
142 |
+ |
|
143 | 143 |
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2> |
144 | 144 |
|
145 | 145 |
<p>This method is not used in the package.</p> |
146 |
- |
|
147 | 146 |
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2> |
148 | 147 |
|
149 | 148 |
<p>No value is returned.</p> |
150 |
- |
|
151 | 149 |
|
152 | 150 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
153 | 151 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
... | ... |
@@ -158,11 +156,8 @@ |
158 | 156 |
<h2>Contents</h2> |
159 | 157 |
<ul class="nav nav-pills nav-stacked"> |
160 | 158 |
<li><a href="#arguments">Arguments</a></li> |
161 |
- |
|
162 | 159 |
<li><a href="#details">Details</a></li> |
163 |
- |
|
164 | 160 |
<li><a href="#value">Value</a></li> |
165 |
- |
|
166 | 161 |
<li><a href="#examples">Examples</a></li> |
167 | 162 |
</ul> |
168 | 163 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -145,8 +145,7 @@ is the base for the splitting of the annotations.</p> |
145 | 145 |
|
146 | 146 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
147 | 147 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
148 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
149 |
-</div></pre> |
|
148 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
150 | 149 |
</div> |
151 | 150 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
152 | 151 |
<h2>Contents</h2> |
... | ... |
@@ -8,11 +8,13 @@ |
8 | 8 |
|
9 | 9 |
<title>The AnnotationFunction Class — AnnotationFunction-class • ComplexHeatmap</title> |
10 | 10 |
|
11 |
+ |
|
11 | 12 |
<!-- jquery --> |
12 | 13 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> |
13 | 14 |
<!-- Bootstrap --> |
14 | 15 |
|
15 | 16 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" /> |
17 |
+ |
|
16 | 18 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script> |
17 | 19 |
|
18 | 20 |
<!-- Font Awesome icons --> |
... | ... |
@@ -32,13 +34,14 @@ |
32 | 34 |
|
33 | 35 |
|
34 | 36 |
|
35 |
-<meta property="og:title" content="The AnnotationFunction Class — AnnotationFunction-class" /> |
|
36 | 37 |
|
38 |
+<meta property="og:title" content="The AnnotationFunction Class — AnnotationFunction-class" /> |
|
37 | 39 |
<meta property="og:description" content="The AnnotationFunction Class" /> |
38 | 40 |
<meta name="twitter:card" content="summary" /> |
39 | 41 |
|
40 | 42 |
|
41 | 43 |
|
44 |
+ |
|
42 | 45 |
<!-- mathjax --> |
43 | 46 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script> |
44 | 47 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script> |
... | ... |
@@ -66,7 +69,7 @@ |
66 | 69 |
</button> |
67 | 70 |
<span class="navbar-brand"> |
68 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
69 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
70 | 73 |
</span> |
71 | 74 |
</div> |
72 | 75 |
|
... | ... |
@@ -97,7 +100,6 @@ |
97 | 100 |
</ul> |
98 | 101 |
</li> |
99 | 102 |
</ul> |
100 |
- |
|
101 | 103 |
<ul class="nav navbar-nav navbar-right"> |
102 | 104 |
<li> |
103 | 105 |
<a href="https://github.com/jokergoo/ComplexHeatmap"> |
... | ... |
@@ -124,12 +126,11 @@ |
124 | 126 |
</div> |
125 | 127 |
|
126 | 128 |
<div class="ref-description"> |
127 |
- |
|
128 | 129 |
<p>The AnnotationFunction Class</p> |
129 |
- |
|
130 | 130 |
</div> |
131 | 131 |
|
132 |
- |
|
132 |
+ |
|
133 |
+ |
|
133 | 134 |
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2> |
134 | 135 |
|
135 | 136 |
<p>The heatmap annotation is basically graphics aligned to the heatmap columns or rows. |
... | ... |
@@ -141,7 +142,6 @@ the size of the plotting regions of the annotation. And most importantly, it |
141 | 142 |
allows subsetting to the annotation to draw a subset of the graphics, which |
142 | 143 |
is the base for the splitting of the annotations.</p> |
143 | 144 |
<p>See <code><a href='AnnotationFunction.rd.html'>AnnotationFunction</a></code> constructor for details.</p> |
144 |
- |
|
145 | 145 |
|
146 | 146 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
147 | 147 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
... | ... |
@@ -151,9 +151,7 @@ is the base for the splitting of the annotations.</p> |
151 | 151 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
152 | 152 |
<h2>Contents</h2> |
153 | 153 |
<ul class="nav nav-pills nav-stacked"> |
154 |
- |
|
155 | 154 |
<li><a href="#details">Details</a></li> |
156 |
- |
|
157 | 155 |
<li><a href="#examples">Examples</a></li> |
158 | 156 |
</ul> |
159 | 157 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -8,11 +8,13 @@ |
8 | 8 |
|
9 | 9 |
<title>Constructor of AnnotationFunction Class — AnnotationFunction • ComplexHeatmap</title> |
10 | 10 |
|
11 |
+ |
|
11 | 12 |
<!-- jquery --> |
12 | 13 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> |
13 | 14 |
<!-- Bootstrap --> |
14 | 15 |
|
15 | 16 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" /> |
17 |
+ |
|
16 | 18 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script> |
17 | 19 |
|
18 | 20 |
<!-- Font Awesome icons --> |
... | ... |
@@ -32,13 +34,14 @@ |
32 | 34 |
|
33 | 35 |
|
34 | 36 |
|
35 |
-<meta property="og:title" content="Constructor of AnnotationFunction Class — AnnotationFunction" /> |
|
36 | 37 |
|
38 |
+<meta property="og:title" content="Constructor of AnnotationFunction Class — AnnotationFunction" /> |
|
37 | 39 |
<meta property="og:description" content="Constructor of AnnotationFunction Class" /> |
38 | 40 |
<meta name="twitter:card" content="summary" /> |
39 | 41 |
|
40 | 42 |
|
41 | 43 |
|
44 |
+ |
|
42 | 45 |
<!-- mathjax --> |
43 | 46 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script> |
44 | 47 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script> |
... | ... |
@@ -66,7 +69,7 @@ |
66 | 69 |
</button> |
67 | 70 |
<span class="navbar-brand"> |
68 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
69 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
70 | 73 |
</span> |
71 | 74 |
</div> |
72 | 75 |
|
... | ... |
@@ -97,7 +100,6 @@ |
97 | 100 |
</ul> |
98 | 101 |
</li> |
99 | 102 |
</ul> |
100 |
- |
|
101 | 103 |
<ul class="nav navbar-nav navbar-right"> |
102 | 104 |
<li> |
103 | 105 |
<a href="https://github.com/jokergoo/ComplexHeatmap"> |
... | ... |
@@ -124,15 +126,13 @@ |
124 | 126 |
</div> |
125 | 127 |
|
126 | 128 |
<div class="ref-description"> |
127 |
- |
|
128 | 129 |
<p>Constructor of AnnotationFunction Class</p> |
129 |
- |
|
130 | 130 |
</div> |
131 | 131 |
|
132 | 132 |
<pre class="usage"><span class='fu'><a href='AnnotationFunction.rd.html'>AnnotationFunction</a></span>(<span class='no'>fun</span>, <span class='kw'>fun_name</span> <span class='kw'>=</span> <span class='st'>""</span>, <span class='kw'>which</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span class='st'>"column"</span>, <span class='st'>"row"</span>), |
133 | 133 |
<span class='kw'>var_import</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/list.html'>list</a></span>(), <span class='kw'>n</span> <span class='kw'>=</span> <span class='fl'>NA</span>, <span class='kw'>data_scale</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span class='fl'>0</span>, <span class='fl'>1</span>), <span class='kw'>subset_rule</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/list.html'>list</a></span>(), |
134 | 134 |
<span class='kw'>subsetable</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/length.html'>length</a></span>(<span class='no'>subset_rule</span>) <span class='kw'>></span> <span class='fl'>0</span>, <span class='kw'>show_name</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>, <span class='kw'>width</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='kw'>height</span> <span class='kw'>=</span> <span class='kw'>NULL</span>)</pre> |
135 |
- |
|
135 |
+ |
|
136 | 136 |
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2> |
137 | 137 |
<table class="ref-arguments"> |
138 | 138 |
<colgroup><col class="name" /><col class="desc" /></colgroup> |
... | ... |
@@ -181,7 +181,7 @@ |
181 | 181 |
<td><p>The height of the plotting region (the viewport) that the annotation is drawn. If it is a column annotation, the width must be an absolute unit.</p></td> |
182 | 182 |
</tr> |
183 | 183 |
</table> |
184 |
- |
|
184 |
+ |
|
185 | 185 |
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2> |
186 | 186 |
|
187 | 187 |
<p>In the package, we have implemted quite a lot annotation functions by <code><a href='AnnotationFunction.rd.html'>AnnotationFunction</a></code> constructor: |
... | ... |
@@ -191,11 +191,9 @@ support as both row annotations and column annotations and they are are all subs |
191 | 191 |
<p>The build-in annotation functions are already enough for most of the analysis, nevertheless, if users |
192 | 192 |
want to know more about how to construct the AnnotationFunction class manually, they can refer to |
193 | 193 |
<a href='https://jokergoo.github.io/ComplexHeatmap-reference/book/heatmap-annotations.html#implement-new-annotation-functions.'>https://jokergoo.github.io/ComplexHeatmap-reference/book/heatmap-annotations.html#implement-new-annotation-functions.</a></p> |
194 |
- |
|
195 | 194 |
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2> |
196 | 195 |
|
197 | 196 |
<p>A <code><a href='AnnotationFunction-class.rd.html'>AnnotationFunction-class</a></code> object which can be used in <code><a href='HeatmapAnnotation.rd.html'>HeatmapAnnotation</a></code>.</p> |
198 |
- |
|
199 | 197 |
|
200 | 198 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
201 | 199 |
<pre class="examples"><div class='input'><span class='no'>x</span> <span class='kw'>=</span> <span class='fl'>1</span>:<span class='fl'>10</span> |
... | ... |
@@ -220,11 +218,8 @@ want to know more about how to construct the AnnotationFunction class manually, |
220 | 218 |
<h2>Contents</h2> |
221 | 219 |
<ul class="nav nav-pills nav-stacked"> |
222 | 220 |
<li><a href="#arguments">Arguments</a></li> |
223 |
- |
|
224 | 221 |
<li><a href="#details">Details</a></li> |
225 |
- |
|
226 | 222 |
<li><a href="#value">Value</a></li> |
227 |
- |
|
228 | 223 |
<li><a href="#examples">Examples</a></li> |
229 | 224 |
</ul> |
230 | 225 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -147,8 +147,7 @@ a color mapping function.</p> |
147 | 147 |
|
148 | 148 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
149 | 149 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
150 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
151 |
-</div></pre> |
|
150 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
152 | 151 |
</div> |
153 | 152 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
154 | 153 |
<h2>Contents</h2> |
... | ... |
@@ -8,11 +8,13 @@ |
8 | 8 |
|
9 | 9 |
<title>Class for Color Mapping — ColorMapping-class • ComplexHeatmap</title> |
10 | 10 |
|
11 |
+ |
|
11 | 12 |
<!-- jquery --> |
12 | 13 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> |
13 | 14 |
<!-- Bootstrap --> |
14 | 15 |
|
15 | 16 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" /> |
17 |
+ |
|
16 | 18 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script> |
17 | 19 |
|
18 | 20 |
<!-- Font Awesome icons --> |
... | ... |
@@ -32,13 +34,14 @@ |
32 | 34 |
|
33 | 35 |
|
34 | 36 |
|
35 |
-<meta property="og:title" content="Class for Color Mapping — ColorMapping-class" /> |
|
36 | 37 |
|
38 |
+<meta property="og:title" content="Class for Color Mapping — ColorMapping-class" /> |
|
37 | 39 |
<meta property="og:description" content="Class for Color Mapping" /> |
38 | 40 |
<meta name="twitter:card" content="summary" /> |
39 | 41 |
|
40 | 42 |
|
41 | 43 |
|
44 |
+ |
|
42 | 45 |
<!-- mathjax --> |
43 | 46 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script> |
44 | 47 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script> |
... | ... |
@@ -66,7 +69,7 @@ |
66 | 69 |
</button> |
67 | 70 |
<span class="navbar-brand"> |
68 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
69 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
70 | 73 |
</span> |
71 | 74 |
</div> |
72 | 75 |
|
... | ... |
@@ -97,7 +100,6 @@ |
97 | 100 |
</ul> |
98 | 101 |
</li> |
99 | 102 |
</ul> |
100 |
- |
|
101 | 103 |
<ul class="nav navbar-nav navbar-right"> |
102 | 104 |
<li> |
103 | 105 |
<a href="https://github.com/jokergoo/ComplexHeatmap"> |
... | ... |
@@ -124,18 +126,16 @@ |
124 | 126 |
</div> |
125 | 127 |
|
126 | 128 |
<div class="ref-description"> |
127 |
- |
|
128 | 129 |
<p>Class for Color Mapping</p> |
129 |
- |
|
130 | 130 |
</div> |
131 | 131 |
|
132 |
- |
|
132 |
+ |
|
133 |
+ |
|
133 | 134 |
<h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2> |
134 | 135 |
|
135 | 136 |
<p>The <code><a href='ColorMapping-class.rd.html'>ColorMapping-class</a></code> handles color mapping for discrete values and continuous values. |
136 | 137 |
Discrete values are mapped by setting a vector of colors and continuous values are mapped by setting |
137 | 138 |
a color mapping function.</p> |
138 |
- |
|
139 | 139 |
<h2 class="hasAnchor" id="methods"><a class="anchor" href="#methods"></a>Methods</h2> |
140 | 140 |
|
141 | 141 |
<p>The <code><a href='ColorMapping-class.rd.html'>ColorMapping-class</a></code> provides following methods:</p> |
... | ... |
@@ -144,7 +144,6 @@ a color mapping function.</p> |
144 | 144 |
<li><p><code><a href='map_to_colors-ColorMapping-method.rd.html'>map_to_colors,ColorMapping-method</a></code>: mapping values to colors.</p></li> |
145 | 145 |
<li><p><code><a href='color_mapping_legend-ColorMapping-method.rd.html'>color_mapping_legend,ColorMapping-method</a></code>: draw legend or get legend as an object.</p></li> |
146 | 146 |
</ul> |
147 |
- |
|
148 | 147 |
|
149 | 148 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
150 | 149 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
... | ... |
@@ -154,11 +153,8 @@ a color mapping function.</p> |
154 | 153 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
155 | 154 |
<h2>Contents</h2> |
156 | 155 |
<ul class="nav nav-pills nav-stacked"> |
157 |
- |
|
158 | 156 |
<li><a href="#details">Details</a></li> |
159 |
- |
|
160 | 157 |
<li><a href="#methods">Methods</a></li> |
161 |
- |
|
162 | 158 |
<li><a href="#examples">Examples</a></li> |
163 | 159 |
</ul> |
164 | 160 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -179,7 +179,7 @@ |
179 | 179 |
#> colors: |
180 | 180 |
#> [1] "#FF0000FF" "#000000FF" |
181 | 181 |
#> </div><div class='input'><span class='fu'><a href='https://rdrr.io/r/base/library.html'>require</a></span>(<span class='no'>circlize</span>)</div><div class='output co'>#> <span class='message'>Loading required package: circlize</span></div><div class='output co'>#> <span class='message'>========================================</span> |
182 |
-#> <span class='message'>circlize version 0.4.8</span> |
|
182 |
+#> <span class='message'>circlize version 0.4.9</span> |
|
183 | 183 |
#> <span class='message'>CRAN page: https://cran.r-project.org/package=circlize</span> |
184 | 184 |
#> <span class='message'>Github page: https://github.com/jokergoo/circlize</span> |
185 | 185 |
#> <span class='message'>Documentation: http://jokergoo.github.io/circlize_book/book/</span> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -160,8 +160,7 @@ The heatmap lists are abstracted into several classes.</p> |
160 | 160 |
|
161 | 161 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
162 | 162 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
163 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
164 |
-</div></pre> |
|
163 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
165 | 164 |
</div> |
166 | 165 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
167 | 166 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -151,8 +151,7 @@ and call <code><a href='draw-HeatmapList-method.html'>draw,HeatmapList-method</a |
151 | 151 |
|
152 | 152 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
153 | 153 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
154 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
155 |
-</div></pre> |
|
154 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
156 | 155 |
</div> |
157 | 156 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
158 | 157 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -564,8 +564,7 @@ of the <code><a href='Heatmap-class.html'>Heatmap-class</a></code> object actual |
564 | 564 |
|
565 | 565 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
566 | 566 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
567 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
568 |
-</div></pre> |
|
567 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
569 | 568 |
</div> |
570 | 569 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
571 | 570 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -146,8 +146,7 @@ represented as a list of <code><a href='SingleAnnotation-class.html'>SingleAnnot |
146 | 146 |
|
147 | 147 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
148 | 148 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
149 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
150 |
-</div></pre> |
|
149 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
151 | 150 |
</div> |
152 | 151 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
153 | 152 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -263,8 +263,7 @@ e.g. assuming you have an annotation with name <code>foo</code>, you can specify |
263 | 263 |
|
264 | 264 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
265 | 265 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
266 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
267 |
-</div></pre> |
|
266 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
268 | 267 |
</div> |
269 | 268 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
270 | 269 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -148,8 +148,7 @@ |
148 | 148 |
|
149 | 149 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
150 | 150 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
151 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
152 |
-</div></pre> |
|
151 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
153 | 152 |
</div> |
154 | 153 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
155 | 154 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -149,8 +149,7 @@ |
149 | 149 |
|
150 | 150 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
151 | 151 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
152 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
153 |
-</div></pre> |
|
152 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
154 | 153 |
</div> |
155 | 154 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
156 | 155 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -149,8 +149,7 @@ |
149 | 149 |
|
150 | 150 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
151 | 151 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
152 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
153 |
-</div></pre> |
|
152 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
154 | 153 |
</div> |
155 | 154 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
156 | 155 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -149,8 +149,7 @@ contains a list of <code>SingleAnnotation-class</code> objects and is used to ad |
149 | 149 |
|
150 | 150 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
151 | 151 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
152 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
153 |
-</div></pre> |
|
152 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
154 | 153 |
</div> |
155 | 154 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
156 | 155 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -164,8 +164,7 @@ annotations. Column annotations should be added to the heatmap list by |
164 | 164 |
|
165 | 165 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
166 | 166 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
167 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
168 |
-</div></pre> |
|
167 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
169 | 168 |
</div> |
170 | 169 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
171 | 170 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -158,8 +158,7 @@ |
158 | 158 |
|
159 | 159 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
160 | 160 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
161 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
162 |
-</div></pre> |
|
161 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
163 | 162 |
</div> |
164 | 163 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
165 | 164 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -158,8 +158,7 @@ |
158 | 158 |
|
159 | 159 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
160 | 160 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
161 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
162 |
-</div></pre> |
|
161 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
163 | 162 |
</div> |
164 | 163 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
165 | 164 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -158,8 +158,7 @@ |
158 | 158 |
|
159 | 159 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
160 | 160 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
161 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
162 |
-</div></pre> |
|
161 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
163 | 162 |
</div> |
164 | 163 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
165 | 164 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -149,8 +149,7 @@ It also adjust the size of heatmap annotations to make them aligned nicely.</p> |
149 | 149 |
|
150 | 150 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
151 | 151 |
<pre class="examples"><div class='input'><span class='co'># There is no example</span> |
152 |
-<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div><div class='input'> |
|
153 |
-</div></pre> |
|
152 |
+<span class='kw'>NULL</span></div><div class='output co'>#> NULL</div></pre> |
|
154 | 153 |
</div> |
155 | 154 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
156 | 155 |
<h2>Contents</h2> |
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -69,7 +69,7 @@ |
69 | 69 |
</button> |
70 | 70 |
<span class="navbar-brand"> |
71 | 71 |
<a class="navbar-link" href="../index.html">ComplexHeatmap</a> |
72 |
- <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.0</span> |
|
72 |
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">2.1.1</span> |
|
73 | 73 |
</span> |
74 | 74 |
</div> |
75 | 75 |
|
... | ... |
@@ -171,8 +171,8 @@ |
171 | 171 |
<p>This function supports image formats in <code>png</code>, <code>svg</code>, <code>pdf</code>, <code>eps</code>, <code>jpeg/jpg</code>, <code>tiff</code>. |
172 | 172 |
<code>png</code>, <code>jpeg/jpg</code> and <code>tiff</code> images are imported by <code><a href='https://rdrr.io/pkg/png/man/readPNG.html'>readPNG</a></code>, <code><a href='https://rdrr.io/pkg/jpeg/man/readJPEG.html'>readJPEG</a></code> and |
173 | 173 |
<code><a href='https://rdrr.io/pkg/tiff/man/readTIFF.html'>readTIFF</a></code>, and drawn by <code><a href='https://rdrr.io/r/grid/grid.raster.html'>grid.raster</a></code>. <code>svg</code> images are firstly reformatted by <code>rsvg::rsvg_svg</code> |
174 |
-and then imported by <code>readPicture</code> and drawn by <code>grid.picture</code>. <code>pdf</code> and <code>eps</code> |
|
175 |
-images are imported by <code>PostScriptTrace</code> and <code>readPicture</code>, later drawn by <code>grid.picture</code>.</p> |
|
174 |
+and then imported by <code><a href='https://rdrr.io/pkg/grImport2/man/readPicture.html'>readPicture</a></code> and drawn by <code><a href='https://rdrr.io/pkg/grImport2/man/grid.picture.html'>grid.picture</a></code>. <code>pdf</code> and <code>eps</code> |
|
175 |
+images are imported by <code><a href='https://rdrr.io/pkg/grImport/man/PostScriptTrace.html'>PostScriptTrace</a></code> and <code><a href='https://rdrr.io/pkg/grImport/man/readPicture.html'>readPicture</a></code>, later drawn by <code><a href='https://rdrr.io/pkg/grImport/man/grid.picture.html'>grid.picture</a></code>.</p> |
|
176 | 176 |
<p>Different image formats can be mixed in the <code>image</code> vector.</p> |
177 | 177 |
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2> |
178 | 178 |
|
... | ... |
@@ -183,14 +183,9 @@ images are imported by <code>PostScriptTrace</code> and <code>readPicture</code> |
183 | 183 |
|
184 | 184 |
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2> |
185 | 185 |
<pre class="examples"><div class='input'><span class='co'># download the free icons from https://github.com/Keyamoon/IcoMoon-Free</span> |
186 |
-<span class='kw'>if</span> (<span class='fl'>FALSE</span>) { |
|
187 |
-<span class='no'>image</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/sample.html'>sample</a></span>(<span class='fu'><a href='https://rdrr.io/r/base/list.files.html'>dir</a></span>(<span class='st'>"~/Downloads/IcoMoon-Free-master/PNG/64px"</span>, <span class='kw'>full.names</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>), <span class='fl'>10</span>) |
|
188 |
-<span class='no'>anno</span> <span class='kw'>=</span> <span class='fu'>anno_image</span>(<span class='no'>image</span>) |
|
189 |
-<span class='fu'><a href='draw-dispatch.html'>draw</a></span>(<span class='no'>anno</span>, <span class='kw'>test</span> <span class='kw'>=</span> <span class='st'>"png"</span>) |
|
190 |
-<span class='no'>image</span>[<span class='fl'>1</span>:<span class='fl'>5</span>] <span class='kw'>=</span> <span class='st'>""</span> |
|
191 |
-<span class='no'>anno</span> <span class='kw'>=</span> <span class='fu'>anno_image</span>(<span class='no'>image</span>) |
|
192 |
-<span class='fu'><a href='draw-dispatch.html'>draw</a></span>(<span class='no'>anno</span>, <span class='kw'>test</span> <span class='kw'>=</span> <span class='st'>"some of png"</span>) |
|
193 |
-}</div></pre> |
|
186 |
+<span class='co'># \dontrun{</span> |
|
187 |
+<span class='no'>image</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/sample.html'>sample</a></span>(<span class='fu'><a href='https://rdrr.io/r/base/list.files.html'>dir</a></span>(<span class='st'>"~/Downloads/IcoMoon-Free-master/PNG/64px"</span>, <span class='kw'>full.names</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>), <span class='fl'>10</span>)</div><div class='output co'>#> <span class='error'>Error in sample.int(length(x), size, replace, prob): invalid first argument</span></div><div class='input'><span class='no'>anno</span> <span class='kw'>=</span> <span class='fu'>anno_image</span>(<span class='no'>image</span>)</div><div class='output co'>#> <span class='warning'>Warning: is.na() applied to non-(list or vector) of type 'closure'</span></div><div class='output co'>#> <span class='error'>Error in image[is.na(image)] <- "": object of type 'closure' is not subsettable</span></div><div class='input'><span class='fu'><a href='draw-dispatch.html'>draw</a></span>(<span class='no'>anno</span>, <span class='kw'>test</span> <span class='kw'>=</span> <span class='st'>"png"</span>)</div><div class='output co'>#> <span class='error'>Error in draw(anno, test = "png"): object 'anno' not found</span></div><div class='input'><span class='no'>image</span>[<span class='fl'>1</span>:<span class='fl'>5</span>] <span class='kw'>=</span> <span class='st'>""</span></div><div class='output co'>#> <span class='error'>Error in image[1:5] = "": object of type 'closure' is not subsettable</span></div><div class='input'><span class='no'>anno</span> <span class='kw'>=</span> <span class='fu'>anno_image</span>(<span class='no'>image</span>)</div><div class='output co'>#> <span class='warning'>Warning: is.na() applied to non-(list or vector) of type 'closure'</span></div><div class='output co'>#> <span class='error'>Error in image[is.na(image)] <- "": object of type 'closure' is not subsettable</span></div><div class='input'><span class='fu'><a href='draw-dispatch.html'>draw</a></span>(<span class='no'>anno</span>, <span class='kw'>test</span> <span class='kw'>=</span> <span class='st'>"some of png"</span>)</div><div class='output co'>#> <span class='error'>Error in draw(anno, test = "some of png"): object 'anno' not found</span></div><div class='input'># } |
|
188 |
+</div></pre> |
|
194 | 189 |
</div> |
195 | 190 |
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> |
196 | 191 |
<h2>Contents</h2> |