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

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

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

                                        Read and converting raw DNA files to fasta format.
                                         阅读和FASTA格式将原始DNA的文件。

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

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

Given the specified directory, this function could read and convert raw DNA files to fasta format. It is an alternative to read.fasta as the later read only one fasta file. The advantage of using raw2Fas  when dealing with fasta files rather than using file.cat is that this function would convert the fasta files to the fasta in a robost way.
在指定的目录,这个函数可以读取并转换成原始的DNA文件FASTA格式。这是一个替代read.fasta后来只读取一个fasta格式文件。的优势,利用raw2Fas在处理fasta格式的文件,而不是使用file.cat是,这个函数会转换成fasta格式的FASTA在一个robost的方式。


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


raw2Fas(dir = NULL, appendix = ".fasta")



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

参数:dir
a character string naming the directory fasta files exist.  
一个字符串命名的目录fasta格式的存在。


参数:appendix
Appendix of raw DNA data files to combine.
附录的原始DNA数据文件结合起来。


Details

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

Only the file possesses the the specied appendix will be read and converted.
只有文件具有的specied附录的读取和转换。


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

Returns the object of class "fasta".
返回的对象类“FASTA”。


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



Jinlong zhang <a href="mailto:jinlongzhang01@gmail.com">jinlongzhang01@gmail.com</a>
Qiong Ding <a href="mailto:dingqiong1@gmail.com">dingqiong1@gmail.com</a>




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

None.

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

See Also read.fasta, file.cat for importing "fasta" files from local machine.
请参见read.fasta,file.cat输入"fasta"从本地计算机中的文件。


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



#########[########]
######[#####]
### raw2Fas() example[##raw2Fas()的例子]
cat(
">No305",
"NTTCGAAAAACACACCCACTACTAAAANTTATCAGTCACT",
file = "dna1.fas", sep = "\n")
cat(
">No304",
"ATTCGAAAAACACACCCACTACTAAAAATTATCAACCACT",
file = "dna2.fas", sep = "\n")
cat(
">No305",
"NTTCGAAAAACACACCCACTACTAAAANTTATCAGTCACT",
file = "dna3.fas", sep = "\n")

raw2Fas(getwd(), appendix = ".fas")

unlink("dna1.fas")
unlink("dna2.fas")
unlink("dna3.fas")


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-20 23:01 , Processed in 0.029003 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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