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

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

[复制链接]
发表于 2012-2-25 14:57:19 | 显示全部楼层 |阅读模式
reconcileFeatures(ChIPsim)
reconcileFeatures()所属R语言包:ChIPsim

                                         Post-processing of simulated features
                                         处理后的模拟功能

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

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

The reconcileFeatures functions provide a facility to post-process a list of features representing a simulated experiment. reconcileFeatures is an S3 generic, new functions can be added for additional  types of experiment. The current default is to call reconcileFeatures.SimulatedExperiment which, if called without further arguments, will simply return the feature list unchanged.
reconcileFeatures功能提供了一个设施后处理功能的模拟实验的名单。 reconcileFeatures是一个S3通用,新功能,可以添加其他类型的实验。当前默认是调用reconcileFeatures.SimulatedExperiment,如果没有进一步的论据的要求,将简单的返回功能列表不变。


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


reconcileFeatures(features, ...)
## Default S3 method:[默认方法]
reconcileFeatures(features, ...)
## S3 method for class 'SimulatedExperiment'
reconcileFeatures(features, defaultValues=list(), ...)
## S3 method for class 'NucleosomePosition'
reconcileFeatures(features, defaultMeanDist = 200, ...)



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

参数:features
List of simulated features.  
模拟功能列表。


参数:defaultValues
Named list of default parameter values. The method for class SimulatedExperiment ensures that all features have at least the parameters listed in defaultValues, adding them where necessary.  
命名的默认参数值列表。 SimulatedExperiment类的方法确保所有功能至少增加defaultValues中列出的参数,并在必要时。


参数:defaultMeanDist
Default value for the average distance between nucleosomes for nucleosome positioning experiments.  
为核小体定位实验的核小体之间的平均距离为默认值。


参数:...
Further arguments to future functions.
未来功能的进一步论据。


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

A list of features of the same class as features.
为features同一类的功能列表。


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



Peter Humburg




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

makeFeatures, placeFeatures
makeFeatures,placeFeatures


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


set.seed(1)
## generate a (relatively short) sequence of nucleosome features[#产生的核小体的功能(比较短)序列。]
features <- makeFeatures(length=1e6, )

## check the total length of the features[#查询功能的总长度]
sum(sapply(features, "[[", "length")) ## 995020[#995020]

## reconcile features to ensure smooth transitions[#调和的功能,以确保平稳过渡]
## For experiments of class NucleosomePosition this [#类NucleosomePosition实验的]
## also combines some features and introduces[#还结合一些特点,并介绍]
## some overlap between them.[#一些它们之间的重叠。]
features <- reconcileFeatures(features)

## check the total length of the features again[#再次检查功能的总长度]
sum(sapply(features, "[[", "length")) ## 984170[#984170]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-14 11:25 , Processed in 0.025560 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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