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

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

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

                                         Generating and reconciling a feature sequence
                                         生成和协调的功能序列

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

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

This function provides an interface to makeFeatures and reconcileFeatures that combines both steps of the feature generation process.
此功能提供了一个接口makeFeatures和reconcileFeatures相结合的功能生成过程的两个步骤。


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


placeFeatures(..., maxTail = 0.01,
        compoundFeatures=list("StablePhasedFeature"))



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

参数:...
Arguments to makeFeatures.  
参数makeFeatures。


参数:maxTail
Maximum portion of total length of chromosome that may be left free of features (see Details).  
最大部分的功能,可留待免费的染色体总长度(见详情)。


参数:compoundFeatures
List of feature classes that are produced by combining two features. This may happen during the call  to reconcileFeatures and requires special handling when extending the feature list.   
名单的功能,它是由两个特点结合产生的类。这可能发生在呼叫reconcileFeatures和延伸的功能列表时需要特殊处理。


Details

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

This function (as well as makeFeatures which it calls) tries to fill as much of the genomic region with features as possible, i.e. an attempt is made to produce a feature sequence that covers length base pairs. In most cases the sequence will be slightly shorter. The maxTail argument determines how long a region without any features at the end of the genomic region is acceptable (as fraction of the total length). Note however that even maxTail = 0 does not guarantee a feature sequence of exactly the requested length.
此功能(以及为它呼吁makeFeatures这)试图填补功能,尽可能多的基因组区域,即尝试将产生一个特征序列,涵盖length碱基对。序列,在大多数情况下会稍有缩短。 maxTail参数决定多久是可以接受的一个区域,没有任何功能的基因组区域(总长度的一小部分)。但是请注意,即使maxTail = 0不保证完全的请求的长度特征序列。


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

A list of simulated features. The class of the return value as well as the features generated depend on the arguments passed to makeFeatures.
模拟功能列表。返回值的类,以及产生的功能取决于参数传递到makeFeatures。


注意----------Note----------

Using the reconcileFeatures mechanism it is possible to introduce dependence between neighbouring features  that is not easily expressed in terms of a simple Markov model. In some cases the same effect can be achieved by  introducing additional states into the model but it may be more convenient to simply post-process the feature sequence.
使用reconcileFeatures机制,是有可能引进邻国之间的特点,是不容易在一个简单的马尔可夫模型表示的依赖。在某些情况下达到同样的效果可以通过该模型引入更多的国家,但以简单的后期处理功能序列,它可能会更方便。


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



Peter Humburg




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

makeFeatures, reconcileFeatures
makeFeatures,reconcileFeatures


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


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

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

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-14 15:01 , Processed in 0.023504 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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