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

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

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

                                         shrink a vector by partitioning it into bins and taking the maxima in
                                         缩小分割成箱,并以极大的向量

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

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

Given a (potentially very long) vector, the vector is partitioned into a given  number of (up to rounding errors) equally long bins, and a vector summerizing   each of the bins with one number it returned.
鉴于(可能很长)矢量,矢量分割成一个给定的数目(舍入误差)同样长箱,它返回一个向量,summerizing一个数字,每一个垃圾桶。


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


shrinkVector(vec, newLength,  mode = c("max", "min", "absmax", "mean"))



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

参数:vec
The vector to be shrunk. May be an ordinary numeric or integer vector or an IRanges::Rle vector.
缩小的向量。可能是一个普通的数字或整数向量或IRanges :: RLE向量。


参数:newLength
The desired size of the return vector, i.e., the number of partitions  
返回向量的大小,即分区的数量


参数:mode
the summerization mode: 'max': take the maximal value of each bin; 'min': take the minimal value of each bin; 'absmax': take the value with largest absolute value; 'mean': take the mean of the bin values.  
“最小”的summerization模式:“最大”:每个容器的最大价值;:采取每个容器的最低值; absmax“:取绝对值最大的价值”的意思是“:以平均垃圾桶值。


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

A vector of length newLength with the summary values of each of the bin of vector.
长度的向量newLength每个的vector的垃圾桶的汇总值。


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


Simon Anders, EMBL-EBI (sanders\@fs.tum.de)



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

plotLongVector, ShortRead::pileup,
plotLongVector,ShortRead::pileup


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


   shrinkVector( 100000 + 1:1000, 17 )

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-6 04:00 , Processed in 0.026060 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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