plot_karyogram: Karyo/Interval Plot GRanges(List)

Description Usage Arguments Value See Also Examples

View source: R/03_plot.R

Description

Karyo/Interval Plot GRanges(List)

Usage

1
plot_karyogram(grlist, title = unique(genome(grlist)))

Arguments

grlist

GRanges-class

title

plot title

Value

list

See Also

plot_intervals

Examples

1
2
3
4
5
6
7
8
9
# Plot GRanges
    bedfile <-  system.file('extdata/SRF.bed',  package = 'multicrispr')
    gr <- bed_to_granges(bedfile, 'mm10', plot = FALSE)
    plot_karyogram(gr)
  
# Plot GRangesList
    flanks  <- up_flank(gr, stranded=FALSE)
    grlist <- GenomicRanges::GRangesList(sites = gr, flanks = flanks)
    plot_karyogram(grlist)

multicrispr documentation built on Nov. 8, 2020, 5:10 p.m.