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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|