plotCircos: plotCircos

Description Usage Arguments Value Author(s) Examples

View source: R/plotCircos.R

Description

Plot a circos representing the cut site locations

Usage

1
plotCircos(cutSites, seqlengths, cutSite.colour, seqlengths.colour)

Arguments

cutSites

A GRanges object containing the locations of the cut sites to be plotted.

seqlengths

An integer with the lengths of the chromosomes.

cutSite.colour

The colour of the cut sites.

seqlengths.colour

The colour of the chromosomes

Value

A circos plot showing the locations of the cut sites.

Author(s)

Benjamin Mayne

Examples

1
2
3
4
5
6
7
# load example cut site positions
data(cuts)
# Obtain the length of chromosome 20 in rn6
library(BSgenome.Rnorvegicus.UCSC.rn6)
chr20 <- seqlengths(BSgenome.Rnorvegicus.UCSC.rn6)["chr20"]
plotCircos(cutSites = cuts, seqlengths = chr20,
           cutSite.colour = "red", seqlengths.colour = "blue")

msgbsR documentation built on Nov. 8, 2020, 6:51 p.m.