Spencer Nystrom has made several significant
contributions to the join_nearest
family of functions:
join_nearest_(x, y, ..., distance = TRUE)
family of functions
now takes a new argument, distance
, which allows the user to add a
column for the distance of the nearest range y
to that in x
.add_nearest_distance_(x, y, ...)
family of functions, which will add
a new metadata column to the x
ranges object which contains the distance to
its nearest neighbor in y
. If there are no nearest neighbors, the new
column will be given a missing value.tidyselect::vars_select()
to tidyselect::eval_select()
expand_ranges()
no longer takes
cartesian product if lists are parallel. summarize()
properly handles list
column output without blowing out number of columns.dplyr::sample_n()
as_granges()
and as_iranges()
functions now handle List columns correctly?ranges-names
for details.slice()
for Ranges, and GroupedRangesdplyr::group_keys()
dplyr::group_split()
dplyr::group_indices()
shift_downstream()
and shift_upstream()
now properly
handle vector amounts of shift
. Fixes issue #73x
or y
have
no metadata columns see #70x
or y
are IRanges, flesh out overlaps documentation.NEWS.md
so no longer softlinks to inst/NEWSunnest()
and replaced it
with expand_ranges()
due to changes in the tidyr API. Please replace
all uses of this function with expand_ranges()
group_by
methodsset_width
out so it's called internally by mutateset_width
there are other internal set_
methods_within_directed
variants for overlaps methodsoverscope_ranges
to be an S3 method, should enable more refactoring in the futurehttps://bioconductor.org/packages/devel/bioc/html/plyranges.html