search for: plottrack

Displaying 2 results from an estimated 2 matches for "plottrack".

2003 Jul 09
2
Packages, generics, S3 and S4
...e or environment in which generic functions are defined in packages. It seems as though they are defined (i.e. exist as objects) in frame 1, even when defined in a package. The following is a short example: setClass("track",representation(x="numeric",y="numeric")) plotTrack <- function(x,y,...) plot(x@x,x@y,xlab="",ylab="Value",...) setGeneric("plotT",def=function(x,y,...) standardGeneric("plotT")) setMethod("plotT",signature(x="track",y="missing"),plotTrack) This which works with my 'exampl...
2012 Jul 22
1
Lattice/"panel.bwplot" and Gviz: Boxplot question
...),rep('sample2',4)) chr <- "chr1" d4x <- DataTrack(start=positions, width=2, data=thisdata,chromosome=chr, name="test",groups = dgroups,type = "boxplot", box.ratio=0.6, box.width=1.5 ) #"box and whisker plot" plotTracks(d4x,from=limit1,to=limit2) ############################### many thanks! [[alternative HTML version deleted]]