View source: R/getCisGenotypes.R
getCisGenotypes | R Documentation |
The function takes in a biomarker of interest (mediator or gene) and gather the cis-genotypes in a user-defined window around the biomarker.
getCisGenotypes(biomInt, locs, snps, snpLocs, cisDist = 5e+05)
biomInt |
character, identifier for biomarker of interest |
locs |
data frame, location file for the biomarkers |
snps |
data frame, SNP dosages |
snpLocs |
data frame, MatrixEQTL locations for SNPs |
cisDist |
numeric, window for cis distance |
list with matrix of cis-genotypes, vector of SNP names, and data frame of SNP locations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.