找回密码
 注册
查看: 261|回复: 0

R语言 seqinr包 aaa()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:13:05 | 显示全部楼层 |阅读模式
aaa(seqinr)
aaa()所属R语言包:seqinr

                                        Converts amino-acid one-letter code into the three-letter one
                                         氨基酸单字母代码转换成三个字母的

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This is a vectorized function to convert one-letter amino-acid code
这是一个矢量函数来转换一个字母氨基酸代码


用法----------Usage----------


aaa(aa)



参数----------Arguments----------

参数:aa
A vector of single characters.
单个字符的矢量。


Details

详细信息----------Details----------

Allowed character values for aa are given by a(). All other values will generate a warning and return NA. Called without arguments, aaa() returns the list of
允许的字符值aa的a()。所有其他值会产生一个警告,并返回NA。不带参数调用,aaa()返回列表


值----------Value----------

A vector of char string. All strings are 3 chars long.
的矢量字符的字符串。所有的字符串是3个字符长。


(作者)----------Author(s)----------


J.R. Lobry



参考文献----------References----------

http://www.chem.qmul.ac.uk/iupac/AminoAcid/ <code>citation("seqinr")</code>

参见----------See Also----------

a, translate
a,translate


实例----------Examples----------


  #[]
  # Show all possible input values:[显示所有可能的输入值:]
  #[]
  
  a()
  
  #[]
  # Convert them in one letter-code:[它们转换成一个字母代码:]
  #[]
  
  aaa(a())
  
  #[]
  # Check consistency of results:[检查结果的一致性:]
  #[]
  
  stopifnot(a(aaa(a())) == a())
  
  #[]
  # Show what happens with non-allowed values:[显示会发生什么事与非允许的值:]
  #[]
  
  aaa("Z") # should be NA and a warning is generated[应该是NA,并发出警告]

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-20 07:29 , Processed in 0.027932 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表