genomeplot: 'Plot genome wide values for all chromosomes'

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/genomeplot.R

Description

Plot values of markers(SNPs, expression, genes, RNA,...) for all chromosomes.

Usage

1
genomeplot(data, select)

Arguments

data

The data are to be used.Each row of the table appears as one line of the file. If it does not contain an absolute path, the file name is relative to the current working directory, getwd(). Tilde-expansion is performed where supported. This can be a compressed file.

select

integer: the number of colour schemes which you will choose for the graphic.

Details

The data to be read will contain four columes,which are cgID,chromosome number,the position,the values.

Value

return the graphic.

Note

return the graphic.

Author(s)

Jing Xu and Yongshuai Jiang

References

2016 tutorial

See Also

ggplot

Examples

1
2
3
data(sample_data)
select <- 1
genomeplot(sample_data,select)

Example output

Loading required package: ggplot2

genomeplot documentation built on May 2, 2019, 9:33 a.m.