- Use prefixed
Calloc
andFree
to comply with CRAN.
- Replace testthat with tinytest.
- Do not mix up minor/major and first/second alleles in documentation.
- Fix that BED files larger than 2GB cannot be loaded in Windows.
- Do not produce
-Wunused-function
warnings in exportedBEDMatrix.h
header.
- Fix extra
;
outside ofcompute_num_bytes_per_variant
function in exportedBEDMatrix.h
header (found by CRAN incoming checks).
- Extractions can be canceled with
Control-c
. - Reimplement package in C, drop Rcpp.
- Genotypes can be extracted on the C level in other packages by adding
BEDMatrix
to theLinkingTo
field of theDESCRIPTION
file and including theBEDMatrix.h
in your C code. The header file contains theBEDMatrix
struct and the following functions:compute_num_bytes_per_variant()
,extract_genotype_linear()
,extract_genotype_cartesian()
, andrecode_genotype()
.
- Re-add C++11 requirement to avoid warnings from Boost headers on Windows.
- Follow Bioconductor S4 practices. If you have used
new()
to create BEDMatrix instances, please use the constructorBEDMatrix()
instead. - Fix non-character rownames or colnames when data.table package is installed.
- Drop C++11 requirement.
- Update citation instructions.
- Add
simple_names
option to BEDMatrix initialization function (contributed by Alex Ochoa). - Fix single indexing for index values greater than
.Machine$integer.max
(previously generatedNA
s). - Minor performance improvements.
- Specify fileset name in messages during instantiation.
- Support subsetting by
NA
. - Use crochet package for subsetting
- Fix minor subsetting bugs
- Update example
- Remove intermediate S3
BEDMatrix
type
- Speed up character subsetting.
- Speed up detection of
n
,p
,rownames
, andcolnames
during initialization ifdata.table
package is installed. - Support
str
function.
- Support
path
without extension (like PLINK). - Add
path
attribute (to reattach instance after saving it to RData). - Add
length
method. - Add
as.matrix
method. - Add
is.matrix
method. - Store dimensions in S3 wrapper as
dims
attribute to allow for faster recreation when saved. - Fix bug that modified
i
andj
when subsetting.
- Restore cross-platform compatibility by dropping the system dependency on
Boost.IOStreams
in favor ofBoost.Interprocess
which provides header-only memory-mapping and is therefore supported by theBH
package.
- Ensure that the same C compiler and compiler flags are used in the configure tests as when compiling R.
- Improve messages in configure script to distinguish between Boost headers and Boost libraries.
Initial release.