| plotCircos {msgbsR} | R Documentation |
Plot a circos representing the cut site locations
plotCircos(cutSites, seqlengths, cutSite.colour, seqlengths.colour)
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 |
A circos plot showing the locations of the cut sites.
Benjamin Mayne
# 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")