gene_length_heatmap_annotation: Gene length annotation as points

Description Usage Arguments Value Examples

View source: R/p06_gene_length_heatmap_annotation.R

Description

This function generates a row annotation of gene length using ComplexHeatmap::row_anno_points() function

Usage

1
2
3
4
5
6
gene_length_heatmap_annotation(
  bedFile,
  genes,
  axis_param = default_axis_param("row"),
  pointSize = unit(1, "mm")
)

Arguments

bedFile

a bed file with 6 columns. feature name will be used to select the genes

genes

a vector with genes for which annotation needs to be generated. IMP: gene order in this vector should be same as the gene/row order of the matrix used for the main heatmap.

axis_param

axis_param argument of ComplexHeatmap::anno_points() function.

pointSize

Point size as unit object. Default: 1mm

Value

An anno_points heatmap annotation object

Examples

1

lakhanp1/chipmine documentation built on March 6, 2021, 9:06 a.m.