| availableDefaultMapping | R Documentation |
A class allow for on-demand streaming of data off the file system.
availableDefaultMapping(file, trackType)
## S4 method for signature 'ReferenceTrack'
initialize(
.Object,
stream,
reference,
mapping = list(),
args = list(),
defaults = list()
)
file |
A |
trackType |
A |
.Object |
.Object |
stream |
stream |
reference |
reference |
mapping |
mapping |
args |
ars |
defaults |
defaults |
The availableDefaultMappings function can be used to find out whether
the package defines a mapping scheme between one of the many supported input
file types and the metadata columns of the tracks' GRanges objects.
Constructor functions of AnnotationTrack, DataTrack, SequenceTrack
and AlignmentsTrack`` can create a special object of corresponding Reference*Track' subclass with pointer to the referenced
file.
A virtual class: No objects may be created from it.
availableDefaultMapping(): Function to find out whether the package
defines a mapping scheme between one of the many supported input file types
and the metadata columns of the tracks's GRanges objects.
initialize(ReferenceTrack): Initialize.
streamObject of class function. The import function to stream data
of the file system. Needs to be able to handle the two mandatory arguments
file (a character containing a valid file path) and selection
(a GRanges object with the genomic region to plot).
referenceObject of class "character", the path to the file containing the data.
mappingObject of class list, a default mapping between the
metadata columns of the returned GRanges object from the import function
and the elemenMetadata columns that make up the final track object.
argsObject of class list, the passed in constructor arguments
during object instantiation. Those will be needed when fetching the data
in order to fill all necessary slots.
defaultsObject of class list, the relevant default values to be
used when neither mapping nor args provides the necessary information.
Florian Hahne
DisplayPars
GdObject
GRanges
HighlightTrack
ImageMap
IRanges
RangeTrack
DataTrack
collapsing
grouping
panel.grid
plotTracks
settings
# This is a reference class, below example from AlignmentsTrack
afrom <- 2960000
ato <- 3160000
alTrack <- AlignmentsTrack(system.file(
package = "Gviz", "extdata",
"gapped.bam"
), isPaired = TRUE)
plotTracks(alTrack, from = afrom, to = ato, chromosome = "chr12")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.