Skip to content

Commit

Permalink
update Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Jul 11, 2024
1 parent ad94452 commit e4dafd0
Show file tree
Hide file tree
Showing 5 changed files with 464 additions and 459 deletions.
525 changes: 243 additions & 282 deletions README.html

Large diffs are not rendered by default.

44 changes: 2 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ ggplot2 in `ggfn` to create annotation.

``` r
anno_data <- sample(1:10, nrow(small_mat))
with_ht_verbose(draw(ggheat(small_mat,
draw(ggheat(small_mat,
top_annotation = eheat_anno(
foo = gganno(
data = anno_data,
Expand All @@ -625,52 +625,12 @@ with_ht_verbose(draw(ggheat(small_mat,
}
)
)
)))
#> Setting Complexheatmap option current_annotation_which: column
#> Setting Complexheatmap option current_annotation_which: column
#> construct ExtendedAnnotation with `eanno()`
))
#> ℹ convert simple vector to one-column matrix
#> in total there are 1 annotations (0 simple annotations)
#> create a SingleAnnotation with name 'foo'
#> foo: annotation is a AnnotationFunction object
#> foo: it is a column annotation
#> foo: adjust positions of annotation names
#> foo: calcualte extensions caused by annotation name
#> foo: calcualte width/height of SingleAnnotation based on the annotation function
#> Setting Complexheatmap option current_annotation_which: column
#> Setting Complexheatmap option current_annotation_which: row
#> Setting Complexheatmap option current_annotation_which:
#> This matrix has both negative and positive values, use a color mapping symmetric to zero
#> color is not specified, use randomly generated colors
#> input color is a color mapping function
#> construct AnnotationFunction with 'anno_text()'
#> construct AnnotationFunction with 'anno_text()'
#> Setting Complexheatmap option current_annotation_which:
#> 1 heatmaps/annotations, main heatmap: 1th
#> auto adjust all heatmap/annotations by the main heatmap
#> apply clustering on each slice (1 slices)
#> reorder dendrograms in each row slice
#> perform row clustering on the main heatmap
#> adjust row order for all other heatmaps
#> adjust heights for all other heatmaps
#> remove row titles for all other heatmaps
#> adjust row_gap for all other heatmaps
#> prepare layout for heatmap: matrix_23
#> apply clustering on each slice (1 slices)
#> reorder dendrograms in each column slice
#> adjust height of top annotation of heamtap matrix_23
#> adjust title/dend height of all heatmaps
#> adjust height to the main heatmap
#> draw annotation generated by anno_text
#> draw annotation generated by anno_text
#> execute annotation function
#> annotation generated by `gganno()`
```

<img src="man/figures/README-anno_point-1.png" width="100%" />

#> draw annotation generated by gganno

Legends will also be extracted, in the similar manner like passing them
into `annotation_legend_list` argument.

Expand Down
Loading

0 comments on commit e4dafd0

Please sign in to comment.