The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Statistical genetics data objects and loaders for R. This package is
part of the larger statgen repository, which also includes
Python and MATLAB/Octave implementations.
# Install devtools if needed
if (!require("devtools")) install.packages("devtools")
# Install from the R-package directory
devtools::install()
# Or from the repository root
devtools::install("R-package")install.packages("statgen")vignette("statgen")Loaders default to matching genomic position and alleles, accepting reversed SNVs automatically and indel swaps by opt-in. To match marker IDs and alleles:
trait <- load_sumstats(path, reference, match_by = "id")
genotype <- load_genotype(bfile_prefix, reference, match_by = "id")ID mode matches SNVs other than A/T and C/G by case-sensitive marker
ID, including strand complements. Both modes orient values to reference
a1. See ?allele_matching and
vignette("statgen") for details and examples.
load_annotations() loads one or more 3-column BED files
as binary annotation columns. load_annotation() loads one
BED-like source file and can paint selected numeric value columns as
continuous annotations or expand one group_column into
multiple binary annotations. Both return an AnnotationPanel
whose annomat() accessor is a sparse numeric
Matrix::dgCMatrix; is_binary() and
annotation_metadata() expose per-column metadata.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.