"track"
"track"
represents scores of a given track.## S3 method for class 'track,character,ANY':
setTrackStyleParam(ts, attr, value)
## S3 method for class 'track,character,ANY':
setTrackXscaleParam(ts, attr, value)
## S3 method for class 'track,character,ANY':
setTrackYaxisParam(ts, attr, value)
track
.trackStyle
object to be changed.new("track", dat, dat2, type, format, style, name)
.importScore
and importBam
to
generate the object.extdata <- system.file("extdata", package="trackViewer",
mustWork=TRUE)
fox2 <- importScore(file.path(extdata, "fox2.bed"), format="BED")
setTrackStyleParam(fox2, "color", c("red","green"))
setTrackXscaleParam(fox2, "gp", list(cex=.5))
setTrackYaxisParam(fox2, "gp", list(col="blue"))
fox2$dat <- GRanges(score=numeric(0))
Run the code above in your browser using DataLab