plotOverview(ggbio)
plotOverview()所属R语言包:ggbio
Plot stacked overview for genome
图堆放基因组概览
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plot stacked overview for genome with or without cytoband.
积叠或没有cytoband,基因组的概述。
用法----------Usage----------
参数----------Arguments----------
参数:obj
A GenomicRanges object, which include extra information about cytoband.
一个GenomicRanges对象,其中包括有关cytoband的额外信息。
参数:cytoband
Logical value. Default is FALSE. If TRUE, plotting cytoband.
逻辑值。默认为false。如果为TRUE,的图cytoband。
Details
详情----------Details----------
This function requires two column of the gieStain and name. Which you could get from getIdeogram function
此功能需要列gieStain和name。你可以得到getIdeogram功能
值----------Value----------
A ggplot object.
一个ggplot对象。
作者(S)----------Author(s)----------
Tengfei Yin
举例----------Examples----------
library(GenomicRanges)
data(hg19IdeogramCyto)
## make shorter and clean labels[#短和清洁的标签]
old.chrs <- seqnames(seqinfo(hg19IdeogramCyto))
new.chrs <- gsub("chr", "", old.chrs)
names(new.chrs) <- old.chrs
new.ideo <- renameSeqlevels(hg19IdeogramCyto, new.chrs)
## with cytoband[#与cytoband]
p <- plotOverview(new.ideo, cytoband = TRUE)
print(p)
## with nocytoband[#与nocytoband]
p <- plotOverview(new.ideo, cytoband = FALSE)
print(p)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|