getting_started | R Documentation |
getting_started
is a simulated dataset created to demonstrate the use of
the sme()
function for genome-wide interaction analyses. It contains
results from a simulated analysis involving additive genetic effects and
gene-by-gene (GxG) interactions.
data("getting_started")
A list with results from sme()
, including the following components:
summary
A data frame summarizing the analysis results, including
p-values for SNP associations (p
).
pve
A data frame containing the per SNP variance component estimates normalized to phenotypic variance explained (PVE).
vc
A data frame containing the per SNP variance component estimates.
gxg_snps
A vector containing the indices of the SNPs assigned to have epistatic interactions in the trait simulations.
The dataset was generated as follows:
Genotype Simulation: Genotype data for 5000 individuals and 6,000 SNPs was simulated with synthetic allele counts.
Phenotype Simulation: Phenotypic values were simulated with an additive heritability of 0.3 and a GxG interaction heritability of 0.25. A set of 100 SNPs were selected for additive effects, and two groups of 5 SNPs each were used for GxG interactions.
PLINK-Compatible Files:
The simulated data was saved in PLINK-compatible .bed
, .fam
,
and .bim
files.
Interaction Analysis:
The sme()
function was used to perform genome-wide interaction analyses
on a subset of SNP indices, including the GxG SNP groups and 100 additional
additive SNPs. Memory-efficient computation parameters
(e.g., chun_ksize
, n_randvecs
, and n_blocks
) were applied.
Additive Heritability: 0.3
GxG Heritability: 0.25
Number of Samples: 5000
Number of SNPs: 6,000
Selected Additive SNPs: 100
Selected GxG SNP Groups:
Group 1: 5 SNPs
Group 2: 5 SNPs
data-raw/getting_started.R
sme
data("getting_started")
head(getting_started$summary)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.