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

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

[复制链接]
发表于 2012-2-25 17:35:38 | 显示全部楼层 |阅读模式
compress(flagme)
compress()所属R语言包:flagme

                                        Compress an alignment object
                                         压缩对齐对象

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

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

Many of the peaks are not similar.  So, the set of pairwise similarity matrices can be compressed.
许多山峰都没有类似的。因此,一套两两相似矩阵可以被压缩。


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


compress(object,verbose=TRUE,...)
decompress(object,verbose=TRUE,...)



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

参数:object
a peaksAlignment, peaksAlignment or peaksAlignment object to be compressed
peaksAlignment,peaksAlignment或peaksAlignment对象被压缩


参数:verbose
logical, whether to print out information
逻辑,无论是打印出来的信息


参数:...
further arguments
进一步的论据


Details

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

Using sparse matrix representations, a significant compression can be achieved.  Here, we use the matrix.csc class of the SpareM package.
使用稀疏矩阵表示,一个重要的压缩可以实现的。在这里,我们使用matrix.csc类SpareM包。


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

an object of the same type as the input object
相同类型的对象作为输入对象


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


Mark Robinson



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

PhD dissertation University of Melbourne.

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

peaksAlignment, clusterAlignment, progressiveAlignment
peaksAlignment,clusterAlignment,progressiveAlignment


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


require(gcspikelite)

# paths and files[路径和文件]
gcmsPath<-paste(.find.package("gcspikelite"),"data",sep="/")
cdfFiles<-dir(gcmsPath,"CDF",full=TRUE)
eluFiles<-dir(gcmsPath,"ELU",full=TRUE)

# read data, peak detection results[读取数据,峰值检测结果]
pd<-peaksDataset(cdfFiles[1:2],mz=seq(50,550),rtrange=c(7.5,8.5))
pd<-addAMDISPeaks(pd,eluFiles[1:2])

# pairwise alignment (it is compressed by default)[两两对齐(这是默认情况下,压缩)]
ca<-clusterAlignment(pd, usePeaks = TRUE, df = 20)
object.size(ca)

# decompress [解压缩]
ca<-decompress(ca)
object.size(ca)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-19 20:45 , Processed in 0.028737 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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