plotChrRegions(htSeqTools)
plotChrRegions()所属R语言包:htSeqTools
Plot chromosomal regions of interest
图利益的染色体区域
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Produces a plot with all chromosomes for a given organism, marking regions of interest in a user-specified color.
生产与所有染色体的某一生物体的图,这标志着区域的利益,在用户指定的颜色。
用法----------Usage----------
plotChrRegions(regions, chrLength, markColor='red', ...)
参数----------Arguments----------
参数:regions
RangedData object with chromosome, start and end positions (chromosome must be stored in space(regions).
RangedData染色体,开始和结束位置的对象(染色体必须储存在space(regions)。
参数:chrLength
Named integer vector with chromosome lengths in base pairs.
名为染色体碱基长度的整数向量。
参数:markColor
Color to be used to mark the regions in the chromosome.
颜色被用来标记在染色体上的区域。
参数:...
Further parameters passed on to plot.
进一步的参数传递到plot。
值----------Value----------
This function produces a plot.
此函数产生一个图。
举例----------Examples----------
set.seed(1)
chr <- rep(c('chr1','chr2'),each=10)
chrLength <- c(chr1=10000,chr2=5000)
st <- c(runif(10,1,10000),runif(10,1,5000))
regions <- RangedData(IRanges(st,st+50),space=chr)
plotChrRegions(regions,chrLength=chrLength)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|