Description Usage Arguments Methods Internal Class Fields and Methods Author(s) See Also Examples
A Consumer
-class to select records with fixed
probability, returning a yield of fixed size. Successive calls to
yield
result in sampling of subsequent records in the stream,
until the stream is exhausted.
1 | Downsample(probability=0.1, sampledSize=1e6, ...)
|
probability |
A |
... |
Additional arguments, passed to the |
sampledSize |
A |
See Consumer
Methods.
Internal fields of this class are are described with, e.g.,
getRefClass("Downsample")$fields
.
Internal methods of this class are described with
getRefClass("Downsample")$methods()
and
getRefClass("Downsample")$help()
.
Martin Morgan mtmorgan@fhcrc.org
1 | showClass("Downsample")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.