RCircos.Validate.Genomic.Data {RCircos}R Documentation

Validate Genomic Data

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

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

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

[Package RCircos version 1.2.2 Index]