Typically calls censorThis on the
values and subsequently discards NA values.
discardOob(x, range = NULL, aes = "z") # S4 method for ANY,missing discardOob(x, range = NULL, aes = "z") # S4 method for numeric,numeric discardOob(x, range = c(0, 1), aes = "z") # S4 method for GenomicRanges,GenomicRanges discardOob(x, range = GRanges(NA_character_, IRanges(0, 1)), aes = "z") # S4 method for 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 3 4