cnv_heatmap | R Documentation |
Plot CNV heatmap
cnv_heatmap( segs, var = "group", label_group = TRUE, legend = TRUE, exclude_gap = TRUE, genome = "hg38" )
segs |
dataframe Segments to plot. Need columns "seg_start", "seg_end", "cnv_state" |
var |
character Column to facet by |
label_group |
logical Label the groups |
legend |
logical Display the legend |
exclude_gap |
logical Whether to mark gap regions |
genome |
character Genome build, either 'hg38' or 'hg19' |
ggplot Heatmap of CNVs along the genome
p = cnv_heatmap(segs_example)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.