species(genomes)
species()所属R语言包:genomes
Extract the species name
提取的物种名称
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extracts the species name from a scientific name
提取种名,学名
用法----------Usage----------
species(x, abbrev=FALSE, epithet=FALSE)
参数----------Arguments----------
参数:x
A vector of scientific names
学名向量
参数:abbrev
Abbreviate the genus name
属名缩写
参数:epithet
Return only the specific epithet (default is genus + specific epithat)
只返回特定的词(默认是属+具体epithat)
Details
详情----------Details----------
Returns the species name. For candidate
返回的物种名称。候选
值----------Value----------
A vector of species names
一个物种名称的向量
作者(S)----------Author(s)----------
Chris Stubben
参见----------See Also----------
genus
genus
举例----------Examples----------
species("Bacillus anthracis Ames")
species("Bacillus anthracis Ames", abbrev=TRUE)
species("Bacillus anthracis Ames", epithet=TRUE)
data(lproks)
x <- table2(species(lproks$name))[1:10,]
dotplot(rev(x), xlab="Genomes")
## abbreviate genus name[#缩写属名。]
x <- subset(lproks, name %like% 'Bacillus*')
x <- table2(species(x$name))[1:10, ]
names(x) <- species(names(x), TRUE)
dotplot(rev(x), xlab=expression(italic(Bacillus) ~ genomes))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|