plotCircos {msgbsR}R Documentation

plotCircos

Description

Plot a circos representing the cut site locations

Usage

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

# 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")

[Package msgbsR version 1.16.0 Index]