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

R语言 DEXSeq包 read.HTSeqCounts()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 16:35:39 | 显示全部楼层 |阅读模式
read.HTSeqCounts(DEXSeq)
read.HTSeqCounts()所属R语言包:DEXSeq

                                        Read counts output from HTSeq script.
                                         读计数HTSeq脚本的输出。

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

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

This function reads the output files from the HTSeq python scripts dexseq_prepare_annotation.py and dexseq_count.py  and gives back an ExonCountSet object.
此功能读取,从HTSeq python脚本dexseq_prepare_annotation.py和dexseq_count.py输出文件和,还给ExonCountSet对象。


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


read.HTSeqCounts(countfiles, design, flattenedfile=NULL)



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

参数:countfiles
A string vector containing the output files with the paths from dexseq_count.py.  
一个字符串向量包含与从dexseq_count.py路径的输出文件。


参数:design
A vector of factors with information corresponding to each of the countfiles or  a data frame design (each column with a factor and each row with its respective  sample. If strings are given, they will be converted to factors.  
一个因素,相应的countfiles或数据框设计(每一个因素,每一个都有其各自的样本行列。如果字符串,它们将被转换因素与信息的向量。


参数:flattenedfile
An flattened annotation gtf file generated by dexseq_prepare_annotation.py.  It is necessary for the visualization of the data but not required to test  for alternative exon usage.  
一个扁平的注解GTF dexseq_prepare_annotation.py产生的文件。这是必要的数据可视化,但不是必需的测试使用替代外显子。


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

An ExonCount object.
一个ExonCount的对象。


举例----------Examples----------


library(DEXSeq)
inDir = system.file("extdata", package="pasilla", mustWork=TRUE)
annotationfile = file.path(inDir, "Dmel.BDGP5.25.62.DEXSeq.chr.gff")
samples = data.frame(
   condition = c(rep("treated", 3), rep("untreated", 4)),
   replicate = c(1:3, 1:4),
   row.names = dir(system.file("extdata", package="pasilla", mustWork=TRUE),
       pattern="fb.txt"),
   stringsAsFactors = TRUE,
   check.names = FALSE
)

annotationfile = file.path(inDir, "Dmel.BDGP5.25.62.DEXSeq.chr.gff")

## Not run: [#无法运行:]
   ecs = read.HTSeqCounts(countfiles = file.path(inDir, rownames(samples)),
      design = samples,
      flattenedfile = annotationfile)
      
## End(Not run)[#结束(不运行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-12 04:49 , Processed in 0.019798 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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