View source: R/RCircosGenomicData.R
RCircos.Validate.Genomic.Data | R Documentation |
Validate input dataset for correct chromosome names, chromosome start, and chromosome end positions. Chromosome names will be converted to character vectors if they are factor variables.
RCircos.Validate.Genomic.Data(genomic.data=NULL, plot.type=c("plot", "link"), genomic.columns=3)
genomic.data |
Data frame with genomic position data. |
plot.type |
Character vector, either "plot" or "link". |
genomic.columns |
Non-negative integer, total number of columns for genomic position (chromosome name, start and/or end position). |
None. Function will exit with an error prompt.
Henry Zhang
## Not run: library(RCircos) data(RCircos.Heatmap.Data) RCircos.Validate.Genomic.Data(RCircos.Heatmap.Data, plot.type="plot", genomic.columns=3) data(RCircos.Link.Data) RCircos.Validate.Genomic.Data(RCircos.Link.Data, plot.type="link", genomic.columns=3) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.