ConvFas(seqRFLP)
ConvFas()所属R语言包:seqRFLP
Convert files to fasta format
将文件转换为FASTA格式
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function could be used to convert raw phy,nex, fas files to fasta format. It is also a internal function called by as.fasta() which is more friendly to use.
此功能可以用于将原料phy,nex,fas文件,FASTA格式。这也是一个内部的函数调用as.fasta()这是更友好的使用。
用法----------Usage----------
ConvFas(fil = NULL, type = c("fas", "nxs", "phy"))
参数----------Arguments----------
参数:fil
file that to be converted.
文件,要被转换。
参数:type
File types that will be converted.
将被转换的文件类型。
Details
详细信息----------Details----------
Users may have to use readLines() to import the content when dealing with external datasets. Currently, this function could handling the standard phy, nex, fas files, lines between "[]" must be deleted in nex files.
用户可以使用readLines()将内容导入外部数据集处理时。目前,该功能可以处理标准phy,nex,fas文件,之间的界限"[]"必须nex文件中删除。
值----------Value----------
The "fasta" format data.
"fasta"格式的数据。
(作者)----------Author(s)----------
Qiong Ding <a href="mailto:dingqiong1@gmail.com">dingqiong1@gmail.com</a>
参考文献----------References----------
None.
参见----------See Also----------
See Also as.fasta for converting data types.
请参见as.fasta转换数据类型。
实例----------Examples----------
data(fil.phy)
ConvFas(fil = fil.phy, type = "phy")
data(fil.nxs)
ConvFas(fil = fil.nxs, type = "nxs")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|