seeBarcode(spider)
seeBarcode()所属R语言包:spider
Create illustrative barcodes
创建说明条形码
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function plots an illustrative barcode consisting of vertical bands in four colours corresponding to the DNA bases adenine (A), cytosine (C), guanine (G) and thiamine (T).
此函数绘制的说明性条形码组成的四种颜色对应的DNA碱基腺嘌呤(A),胞嘧啶(C),鸟嘌呤(G),硫胺素(T)中的垂直条纹。
用法----------Usage----------
seeBarcode(seq, col=c("green", "blue", "black", "red"))
参数----------Arguments----------
参数:seq
A single sequence of class "DNAbin".
一个单一序列类的DNAbin“。
参数:col
A character vector of length 4 giving colours to represent A, G, C and T respectively.
字符向量的长度为4的颜色代表A,G,C和T分别。
Details
详细信息----------Details----------
Green, blue, black and red are the standard colours representing A, G, C and T respectively.
绿色,蓝色,黑色和红色是代表A,G,C和T的标准颜色。
值----------Value----------
Plots an illustrative barcode.
绘制一个说明性的条形码。
(作者)----------Author(s)----------
Samuel Brown <s_d_j_brown@hotmail.com>
实例----------Examples----------
layout(matrix(1:6, ncol=1))
par(mar=c(0.5, 0, 0.5, 0))
data(woodmouse)
seeBarcode(woodmouse[1,])
seeBarcode(woodmouse[1,], col=c("pink", "orange", "steelblue", "yellow"))
seeBarcode(woodmouse[1,], col=c("black", "white", "white", "black"))
apply(woodmouse[1:3,], MARGIN=1, FUN=seeBarcode)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|