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

R语言 flowCore包 write.flowSet()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 17:51:05 | 显示全部楼层 |阅读模式
write.flowSet(flowCore)
write.flowSet()所属R语言包:flowCore

                                        Write an FCS file
                                         写FCS文件

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

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

Write FCS file for each flowFrame in a flowSet
写的FCS在flowSet为每个flowFrame的文件


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


   write.flowSet(x, outdir=identifier(x), filename, ...)



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

参数:x
A flowSet.
AflowSet。


参数:filename
A character scalar or vector giving the output file names. By default, the function will use the identifiers of the individual flowFrames as the file name, potentially adding the .fcs suffix unless a file extension is already present. Alternatively, one can supply either a character scalar, in which case the prefix i_ is appended (i being an integer in seq_len(length(x))), or a character vector of the same length as the flowSet x.
使输出的文件名字符标量或矢量。功能默认情况下,将使用的标识符个人flowFrames作为文件名,可能加入.fcs后缀除非已经存在的文件扩展名。另外,可以提供一个字符标量,在这种情况下,前缀i_(i作为一个整数seq_len(length(x))),或相同长度的特征向量作为追加flowSet x。


参数:outdir
A character scalar giving the output directory. As the default, the output of identifier(x) is used.   
字符标量,使输出目录。作为默认的identifier(x)输出使用。


参数:...
Further arguments that are passed on to write.FCS.
进一步传递write.FCS的论据。


Details

详情----------Details----------

The function write.flowSet creates FCS 3.0 standard file for all flowFrames in an object of class flowSet. In addition, it will write the content of the phenoData slot in the ASCII file "annotation.txt". This file can subsequently be used to reconstruct the whole flowSet using the read.flowSet function, e.g.:
的功能write.flowSet创建所有的flowFrames类flowSet对象FCS 3.0标准文件。此外,它会写入ASCII文件phenoData"annotation.txt"插槽内容。该文件随后可以用来重建整个flowSet使用read.flowSet功能,例如:

read.flowSet(path=outdir, phenoData="annotation.txt"
read.flowSet(path=outdir, phenoData="annotation.txt"

The function uses write.FCS for the actual writing of the FCS files.
功能使用write.FCS的FCS文件的实际写作。


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

A character of the output directory.
输出目录中的字符。


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


F. Hahne



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

link[flowCore]{write.FCS}
link[flowCore]{write.FCS}


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


## sample data[#示例数据]
data(GvHD)
foo <- GvHD[1:5]
outDir <- file.path(tempdir(), "foo")

## now write out into  files[#现在写出来到文件]
write.flowSet(foo, outDir)
dir(outDir)

## and read back in[#和读回]
bar <- read.flowSet(path=outDir, phenoData="annotation.txt")


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-8 23:29 , Processed in 0.021205 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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