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

R语言 rtracklayer包 ucscTrackModes-methods()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 13:41:38 | 显示全部楼层 |阅读模式
ucscTrackModes-methods(rtracklayer)
ucscTrackModes-methods()所属R语言包:rtracklayer

                                         Accessing UCSC track modes
                                         访问加州大学圣克鲁兹分校的轨道模式

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

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

Generics for getting and setting UCSC track visibility modes ("hide", "dense", "full", "pack", "squish").
UCSC的轨道能见度模式(“隐藏”,“密集”,“全”,“包”,“嘎吱”)用于获取和设置泛型。


方法----------Methods----------

The following methods are defined by rtracklayer for getting the track modes through the generic ucscTrackModes(object, ...).
通过通用的rtracklayer轨道模式ucscTrackModes(object, ...)定义下列方法。

function(object, hide = character(),    dense = character(), pack = character(),    squish = character(), full = character()) Creates an instance of UCSCTrackModes from object, a character vector of mode names, with the corresponding track ids given in the names attribute. Note that object can be a UCSCTrackModes instance, as UCSCTrackModes extends character. The other parameters are character vectors identifying the tracks for each mode and overriding the modes specified by object.
function(object, hide = character(),    dense = character(), pack = character(),    squish = character(), full = character())创建一个实例UCSCTrackModesobject,在names属性给予相应的轨道IDS特征向量的模式名称。注意object能UCSCTrackModes实例,作为UCSCTrackModes延伸character。其他参数是确定每种模式的轨道和覆盖object指定模式的特征向量。

The same interface as above, except object defaults to an empty character vector.
上述相同的接口,除了object默认为空的字符向量。

Gets modes for tracks in the view.
获取模式视图中的曲目。

Gets default modes for the tracks in the session. These are the modes that will be used as the default for a newly created view.
获取默认的模式,在会议的轨道。这些都将作为一个新创建的视图的默认模式。

The following methods are defined by rtracklayer for setting the track modes through the generic ucscTrackModes(object) <- value.
下面的方法定义rtracklayer设置的轨道模式,通过通用的ucscTrackModes(object) <- value。

Sets the modes for the tracks in the view.
设置视图中的轨道模式。

Sets the modes from a character vector of mode names, with the corresponding track names given in the names attribute.
从模式名称的字符向量的设置模式,给予相应的跟踪names属性名。


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

trackNames and trackNames<- for just
trackNames和trackNames<-只是


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


# Tracks "foo" and "bar" are fully shown, "baz" is hidden[充分显示曲目“foo”和“条形”,“baz”的隐藏]
modes <- ucscTrackModes(full = c("foo", "bar"), hide = "baz")
# Update the modes to hide track "bar"[更新的模式,以隐藏轨“栏”]
modes2 <- ucscTrackModes(modes, hide = "bar")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-24 16:49 , Processed in 0.025709 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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