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

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

[复制链接]
发表于 2012-2-25 16:27:12 | 显示全部楼层 |阅读模式
readGeneExp(DEGseq)
readGeneExp()所属R语言包:DEGseq

                                        readGeneExp: read gene expression values to a matrix
                                         readGeneExp:读取基因的表达值矩阵

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

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

This method is used to read gene expression values from a file to a matrix in R workspace.  So that the matrix can be used as input of other packages, such as edgeR. The input of the method is a file that contains gene expression values.
此方法用于从一个文件到研发工作区矩阵读取基因的表达值。因此,矩阵可以用于其他的软件包,如磨边,输入。该方法的输入是一个文件,其中包含基因的表达值。


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


   readGeneExp(file, geneCol=1, valCol=2, label = NULL, header=TRUE, sep="")



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

参数:file
file containing gene expression values.
文件包含基因的表达值。


参数:geneCol
gene id column in file.
文件中的基因ID列。


参数:valCol
expression value columns to be read in the file.
要读取文件中的表达式的值列。


参数:label
label for the columns.
列标签。


参数:header
a logical value indicating whether the file contains  the names of the variables as its first line. See ?read.table.
一个逻辑值,指示是否该文件包含的变量的名称作为其第一线。看到?read.table。


参数:sep
the field separator character. If sep = "" (the default for read.table) the separator is white space, that is one or more spaces, tabs, newlines or carriage returns. See ?read.table.
字段分隔符。如果SEP =“(为read.table默认的)分隔是空白,这是一个或多个空格,制表符,换行符或回车。看到?read.table。


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

getGeneExp, GeneExpExample1000, GeneExpExample5000.
getGeneExp,GeneExpExample1000,GeneExpExample5000。


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


  ## If the data files are collected in a zip archive, the following[#如果数据文件被收集在一个zip档案,以下]
  ## commands will first extract them to the temporary directory.[#命令首先将它们解压到临时目录。]

  geneExpFile <- system.file("extdata", "GeneExpExample1000.txt", package="DEGseq")
  exp <- readGeneExp(file=geneExpFile, geneCol=1, valCol=c(7,9,12,15,18,8,10,11,13,16))
  exp[30:35,]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-12 02:40 , Processed in 0.028242 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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