R/data.R

#' Admix: Semi-simulated SNP data
#'
#' A dataset containing the 100 SNPs, a demographic variable representing race,
#' and a simulated outcome
#' @format A list with 3 components
#' \describe{
#'   \item{X}{SNP matrix (197 observations of 100 SNPs)}
#'   \item{y}{vector of simulated (continuous) outcomes}
#'   \item{race}{vector with racial group categorization: # 0 = African, 1 = African American, 2 = European, 3 = Japanese}
#' }
#' @source \url{https://hastie.su.domains/CASI/}
"admix"

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.