SnapshotFunction-class | R Documentation |
A class to store custom reader and viewer functions for the
Snapshot
class.
SnapshotFunction(reader, viewer, limits, ...)
reader(x, ...)
viewer(x, ...)
limits(x, ...)
reader |
A function for reading data. The function must take a
single argument (a |
viewer |
A function for visualizing the data. The function must
accept the |
limits |
An integer(2) indicating the minimum and maximum number
of nucleotides the |
x |
An instance of |
... |
Additional arguments, currently unused. |
reader
:Object of class function
for
reading data from BAM files and returning a
data.frame
.
viewer
:Object of class function
for
visualization that returns an SpTrellis
object.
limits
:Object of class integer
for the limits
of ranges to be visualized.
Martin Morgan and Chao-Jen Wong
Snapshot
## internally defined function
reader(ShortRead:::.fine_coverage)
viewer(ShortRead:::.fine_coverage)
limits(ShortRead:::.fine_coverage)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.