FWD()
function for performing forward regressions.segments()
function for finding non-overlapping segments based on a summary statistic.preprocess()
: Add nCores
parameter.findRelated()
: Map indices to sample names for matrix inputs.getG()
: Add impute
parameter.getG()
: Impute by mean instead of 0 if center = FALSE
.getG()
: Use preprocess()
internally for better performance.as.BGData()
: Read genetic distances in .bim file as double instead of integer.new()
to create BGData
instances, please use the BGData()
constructor function instead.@
to access the slots of BGData
instances, please use the geno()
, pheno()
, and map()
accessors instead.BGData()
:
geno
as this object is likely shared.geno
has row names before creating pheno
stub.geno
has column names before creating map
stub.IID
in pheno
stub to sample_id
.mrk
in map
stub to variant_id
.pheno
stub to a sequence starting with sample_
and rownames for map
stub to a sequence starting with variant_
if geno
does not have dimnames.as.BGData()
:
FID
and IID
columns to be of type character
when loading alternate phenotype files.NULL
.BGData
objects:
geno
matches number of rows of pheno
.geno
matches number of rows of map
.pheno
do not match the row names of geno
.map
do not match the column names of geno
.preprocess()
function for fast centering, scaling, and imputation.GWAS()
: Return number of records used for each variant and allele frequencies in rayOLS
.inherits(., *)
instead of class(.) == *
(R4 compat).chunkedMap()
function.chunkedMap()
and chunkedApply()
.summarize()
: Improve performance.GWAS()
: Improve performance of rayOLS
method.GWAS()
: Fix bug when computing p-values for methods other than rayOLS, lsfit, or SKAT when i
is used to subset samples.GWAS()
: Fix wrong results in lsfit
method when covariates with missing values are used.as.BGData()
: Fix bug loading .fam and .bim files when path contains the word bed
.bufferSize
to chunkSize
.nTasks
parameter from chunkedApply()
and methods based on it.crossprods
function.chunkSize
in the main process, load a subset of chunkSize
in the each fork. That way nTasks
is not necessary anymore and the same code can be used for one core and multiple cores.findRelated()
function for use with matrices and symDMatrix objects.orderedMerge()
function that allows for phenotypes to be easily merged into a BGData object.getG()
function: use single shared memory matrix to collect results.rayOLS
method in GWAS()
function.getG_symDMatrix()
: Support version 2 of symDMatrix package.getG_symDMatrix()
: Add chunkSize
parameter.getG_symDMatrix()
: Add minVar
parameter.as.BGData()
: Use rownames of BEDMatrix object as rownames for pheno, and colnames of BEDMatrix object as rownames for map.nCores
> 1.getG_symDMatrix()
: Fix scaling error when scale = FALSE
.getG_symDMatrix()
: Compute block indices correctly for out-of-order, non-sequential indices.getG_symDMatrix()
: Do not include centers and scales in attributes anymore because the influence of j
and minVar
is difficult to retain.Initial release.