inst/tinytest/_test_fbm.R

# March 2024 
# Objective: work through development of FBM method; will use `admix` data 

# create rds object with file-backed, standardized X (one time only)
process_plink(data_dir = "data-raw", prefix = "admix") 

# examine object 
admix_rds <- readRDS(file = "data-raw/admix.rds")
str(admix_rds)

# attempt to fit filebacked model 
plmm(X = "data-raw/admix", trace = TRUE)

# compare with in-memory model 
plmm(X = admix$X, y = admix$y, standardize = TRUE)

Try the plmmr package in your browser

Any scripts or data that you put into this service are public.

plmmr documentation built on April 4, 2025, 12:19 a.m.