BGData 2.4.1
Lists changes across six releases of the BGData R package for genomic data analysis.
What this file does
Lists changes across six releases of the BGData R package for genomic data analysis.
When to use it
- Reviewing what changed between BGData versions
- Checking if a specific function like FWD() or segments() exists
- Upgrading from BGData 1.x to 2.x and needing migration notes
- Verifying bug fixes relevant to your use of BGData
Assumes this stack
BGData 2.4.1
- Fixed minor native routine registration issue.
- Drop defunct CI services.
- Update link to paper.
BGData 2.4.0
- Add
FWD()function for performing forward regressions.
BGData 2.3.0
- Add
segments()function for finding non-overlapping segments based on a summary statistic. preprocess(): AddnCoresparameter.findRelated(): Map indices to sample names for matrix inputs.getG(): Addimputeparameter.getG(): Impute by mean instead of 0 ifcenter = FALSE.getG(): Usepreprocess()internally for better performance.as.BGData(): Read genetic distances in .bim file as double instead of integer.
BGData 2.2.0
- Follow Bioconductor S4 practices.
- If you have used
new()to createBGDatainstances, please use theBGData()constructor function instead. - If you have used
@to access the slots ofBGDatainstances, please use thegeno(),pheno(), andmap()accessors instead.
- If you have used
BGData():- Do not create dimnames for
genoas this object is likely shared. - Check if
genohas row names before creatingphenostub. - Check if
genohas column names before creatingmapstub. - Rename
IIDinphenostub tosample_id. - Rename
mrkinmapstub tovariant_id. - Change format of rownames for
phenostub to a sequence starting withsample_and rownames formapstub to a sequence starting withvariant_ifgenodoes not have dimnames.
- Do not create dimnames for
as.BGData():- Force column classes when loading .fam and .bim files.
- Force
FIDandIIDcolumns to be of typecharacterwhen loading alternate phenotype files. - Do not make assumptions about the structure of dimnames of a BEDMatrix
object if it is passed without .fam and .bim file unless they are
NULL.
- Add validity tests for
BGDataobjects:- Check if number of rows of
genomatches number of rows ofpheno. - Check if number of columns of
genomatches number of rows ofmap. - Warn if the row names of
phenodo not match the row names ofgeno. - Warn if the row names of
mapdo not match the column names ofgeno.
- Check if number of rows of
- Add
preprocess()function for fast centering, scaling, and imputation. GWAS(): Return number of records used for each variant and allele frequencies inrayOLS.- Update citation instructions.
- Use
inherits(., *)instead ofclass(.) == *(R4 compat).
BGData 2.1.0
- Add
chunkedMap()function. - Improve error handling in
chunkedMap()andchunkedApply(). summarize(): Improve performance.GWAS(): Improve performance ofrayOLSmethod.GWAS(): Fix bug when computing p-values for methods other than rayOLS, lsfit, or SKAT wheniis used to subset samples.GWAS(): Fix wrong results inlsfitmethod when covariates with missing values are used.as.BGData(): Fix bug loading .fam and .bim files when path contains the wordbed.
BGData 2.0.0
Breaking Changes
- Rename
bufferSizetochunkSize. - Remove
nTasksparameter fromchunkedApply()and methods based on it. - Remove
crossprodsfunction.
Other Changes
- Change chunking strategy to improve parallelism: instead of loading a subset
of
chunkSizein the main process, load a subset ofchunkSizein the each fork. That waynTasksis not necessary anymore and the same code can be used for one core and multiple cores. - Add
findRelated()function for use with matrices and symDMatrix objects. - Add
orderedMerge()function that allows for phenotypes to be easily merged into a BGData object. - Performance improvements in
getG()function: use single shared memory matrix to collect results. - Performance improvements in
rayOLSmethod inGWAS()function. getG_symDMatrix(): Support version 2 of symDMatrix package.getG_symDMatrix(): AddchunkSizeparameter.getG_symDMatrix(): AddminVarparameter.as.BGData(): Use rownames of BEDMatrix object as rownames for pheno, and colnames of BEDMatrix object as rownames for map.- Include process ID in verbose output if
nCores> 1.
Bug Fixes
getG_symDMatrix(): Fix scaling error whenscale = 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 ofjandminVaris difficult to retain.
BGData 1.0.0
Initial release.
What's inside
6 release sections, each with bulleted changes; no code or configuration.
Change this for your project
- Replace
BGDatawith your own package name if adapting this changelog format - Replace version numbers like
2.4.1with your own release versions
Where it goes
Reference documentation for a retrieval pipeline. Keep with the ingestion or retrieval code it describes.
Worth borrowing
- Grouping breaking changes separately under a heading
- Linking to external style guides (Bioconductor S4 practices) for migration advice
Related Documents
SUMMARY
Proposes three on-prem AI architectures, modular, hybrid, and fully local RAG, with hardware specs and vendor lists.
Retrieval & Prompts
Explains how CharMemory's extraction prompt and Vector Storage settings determine memory retrieval quality in SillyTavern.
App Review Support Guide — Switch2Go
Explains an AAC app's accessibility permissions, hardware needs, and reviewer walkthrough to pass App Store review.
RFC-BLite: High-Performance Embedded Document Database for .NET
Specifies an embedded document database for.NET with zero-allocation I/O, C-BSON format, and ACID transactions.