Description Usage Arguments Value Examples
Typically calls censorThis
on the
values and subsequently discards NA
values.
1 2 3 4 5 6 7 8 9 10 11 12 13 | discardOob(x, range = NULL, aes = "z")
## S4 method for signature 'ANY,missing'
discardOob(x, range = NULL, aes = "z")
## S4 method for signature 'numeric,numeric'
discardOob(x, range = c(0, 1), aes = "z")
## S4 method for signature 'GenomicRanges,GenomicRanges'
discardOob(x, range = GRanges(NA_character_, IRanges(0, 1)), aes = "z")
## S4 method for signature 'WoodenHorse,ANY'
discardOob(x, range = c(0, 1), aes = "z")
|
x |
A vector of values to manipulate. |
range |
A range representing object. |
aes |
An aesthetic for which to evaluate the function. |
The values in x
but with out of bounds values discarded.
1 2 | # Regular numeric vectors
discardOob(c(0:5), c(2, 4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.