Junction class constructor | R Documentation |
set
set
new()
Builds junction class, grl must be GRangesList with each GRanges of length 2 JUNCTION Empty junctions are removed If grl is empty GRangesList, Junctions class is empty
Junction$new(grl = NULL, ...)
grl
GRangesList of signed breakpoint pairs
removeDups()
Removes duplicate junctions in this Junction Object
this Junction Object has no duplicate junctions
Junction$removeDups()
gw()
Returns a gWalk representing the left -> right traversal of this junction +- padding
Junction$gw(pad = 0)
GRangesList of the junctions in this Junction Object
subset()
Allows subseting of the Junction object using bracket notation
Junction$subset(i)
i
integer or self$length logical vector specifying subset
set()
set metadata for junction object
Junction$set(...)
sets metadata to either a scalar or vector where the vector is the same length as the junction object “' jj$set(cn = 7) jj$set(cn = c(1,2,3)) jj$set(col = c("red", "blue", "green")) “' (after setting, metadata is accessible through $dt accessor)
print()
Prints out the Junction Object. Prints the length and the GRangesList of the junctions.
Junction$print()
clone()
The objects of this class are cloneable with this method.
Junction$clone(deep = FALSE)
deep
Whether to make a deep clone.
Joe DeRose and Rick Mortensen
Rick Mortensen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.