read_bedand related functions now automatically calculate the fields. Use of
CRAN release: 2023-05-16
bed_closest()now reports all x intervals, even when there are no closest y intervals (e.g. when there is no matching chromosome in y intervals). These intervals are returned populated with
.distand y interval locations.
bed_closest()to use binary search rather than an interval tree search. The closest y interval can be missed with the previous search strategy in high depth interval trees.
CRAN release: 2023-02-18
CRAN release: 2022-10-11
CRAN release: 2021-12-08
CRAN release: 2020-10-07
CRAN release: 2020-05-08
- Fixed rchk unprotect error (#365)
CRAN release: 2020-05-04
tibblesubclasses have been deemed unnecessary and have been removed from the package.
valrcompatible data.frame now uses the
gr_to_bed()function rather than
dplyr version < 0.8.0 is no longer supported due to unnecessary code bloat and challenges with handling multiple grouping structures (#359).
bed_random()has been changed to
sorted, and will now by default use
bed_sort()to sort the output, rather than rely on naming the sorting columns. Sorting can be suppressed by using
sorted = FALSE.
bed_sort()no longer store either
sortedas attributes, due to these attributes being rarely checked in the codebase and potential sources of unexpected behavior.
CRAN release: 2019-01-03
Rcppfunctions have been reorganized to remove all dependencies on
Due to internal refactoring of Rcpp functions, only data.frames containing Numeric, Logical, Integer, Character, and List column types are supported. Columns containing Raw, Complex, or other R classes are not supported and will issue an error.
Factors are now disallowed from grouping variables in multiset operations to avoid sort order discrepancies, and compatibility with factor handling in
dplyrv.0.8.0. Factors will now be internally type-converted to character and a warning is issued.
CRAN release: 2018-11-17
CRAN release: 2018-06-08
Added new function,
bed_partition(), which is similar to
bed_merge()but collapses intervals to elemental intervals rather than the maximal overlapping region.
bed_partition()also can compute summaries of data from overlapping intervals. See examples in
bed_partition()and timings in
Several explicit comparisons to the Bioconductor GenomicRanges library are included for users considering using valr. See examples in
as.tbl_interval()and timings in
CRAN release: 2018-01-25
Update dplyr header files to v0.7
intersect_implwere refactored to enable return of non-intersecting intervals.
The genome argument to
bed_makewindows()was deprecated and will produce a warning if used. Also error handling was added to check and warn if there are intervals smaller than the requested window size in
bed_makewindows()now returns the number of windows specified by
num_winwhen the input intervals are not evenly divisble into
num_win, consistent with
CRAN release: 2017-07-22
bed_sort()has been de-deprecated to reduce
arrangecalls in library code.
CRAN release: 2017-06-15
bed_flank()(~4x) (thanks to @kriemo and @sheridar). Thanks to the sponsors of the Biofrontiers Hackathon for the caffeine underlying these improvements.
- intervals from
bed_random()are now sorted properly.
CRAN release: 2017-05-05
Package dplyr v0.5.0 headers with valr to remove dplyr LinkingTo dependency.
tbl_genome()that wrap tibbles and enforce strict column naming.
trbl_genome()are constructors that take
is.tbl_genome()are used to check for valid classes.
- intervals returned from
bed_random()are sorted by
CRAN release: 2017-03-16
R_useDynamicSymbolsto address NOTE in r-devel
Transfer repository to http://github.com/rnabioco/valr, update links and docs.
Move shiny app to new repo (http://github.com/rnabioco/valrdata).
Add Kent Riemondy to LICENSE file.
CRAN release: 2016-12-01