RCircos.Sort.Genomic.Data {RCircos} | R Documentation |
Sort genomics/ideogram data. The order of chromosome names should be numeric names (integers or Roman numbers) first then character names. If chromosome names are all characters alphabets order will be used. This function could be used before making RCircos plot.
RCircos.Sort.Genomic.Data(genomic.data=NULL, is.ideo=FALSE)
genomic.data |
A data frame with the first two or three columns for chromosome names, start and end positions. If it is ideogram data, next two columns must be band names, and Giemsa stain status. |
is.ideo |
Logic, weither the genomic data is ideogram or not. |
Data frame same as input data but ordered by chromosome names then start positions
Henry
## Not run:
library(RCircos)
data(UCSC.Mouse.GRCm38.CytoBandIdeogram)
cyto <- UCSC.Mouse.GRCm38.CytoBandIdeogram
ideogram <- RCircos.Sort.Genomic.Data(
genomic.data=UCSC.Mouse.GRCm38.CytoBandIdeogram,
is.ideo=TURE)
data(RCircos.Line.Data)
lineData <- RCircos.Sort.Genomic.Data( genomic.data=RCircos.Line.Data,
is.ideo=FALSE)
## End(Not run)