RCircos.Validate.Genomic.Data: Validate Genomic Data

Description Usage Arguments Value Author(s) Examples

View source: R/RCircosGenomicData.R

Description

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.

Usage

1
2
RCircos.Validate.Genomic.Data(genomic.data=NULL, 
    plot.type=c("plot", "link"), genomic.columns=3)

Arguments

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).

Value

None. Function will exit with an error prompt.

Author(s)

Henry Zhang

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

RCircos documentation built on May 2, 2019, 5:51 a.m.