ATrack: ATrack class

Description Usage Arguments Author(s) See Also Examples

View source: R/AllClasses.R

Description

This class contains Gviz's AnnotationTrack and adds default values to the genome and chromosome slot

Usage

1
2
ATrack(range = NULL, start = NULL, end = NULL, width = NULL, group, id,
  stacking = "squish", name = "ATrack", fun, selectFun, ...)

Arguments

range,start,end,width,group,id,stacking,name,fun,selectFun,...

Arguments to be passed to AnnotationTrack.

Author(s)

Renan Sauteraud

See Also

AnnotationTrack, GdObject

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Object construction
aTrack <- ATrack(start = c(20, 60), end = c(40, 100), name = "random.anno",
id=c("small","big"))
#Stacking example
a2Track <- ATrack(start = c(20, 30), end = c(40, 100), name = "stacking=dense",
id = c("small", "big"), stacking = "dense", fill=c("black", "orange"))
a3Track <- ATrack(start = c(20, 30), end = c(40, 100), name = "no stacking",
id = c("small", "big"), fill = c("black", "orange"))
#Plotting
plotTracks(trackList = c(aTrack, a2Track, a3Track), showFeatureId = TRUE)

Pviz documentation built on Nov. 8, 2020, 8:12 p.m.