marker2covar | R Documentation |
Occasionally, researchers may want to condition marker effects on another genetic marker. For example, the HLA locus in humans has very strong effects on immune phenotypes, and can swamp smaller effects from other markers. It can be helpful to condition on markers in the HLA region to find genetic modifiers of these markers.
marker2covar(
data_obj,
geno_obj,
singlescan_obj = NULL,
covar_thresh = NULL,
markers = NULL
)
data_obj |
a |
geno_obj |
a genotype object |
singlescan_obj |
It is possible to automatically identify markers to use as covariates based on their large main effects. If this is desired, a singlescan object is required. |
covar_thresh |
If designating markers as covariates based on their main effect size is desired, the covar_thresh indicates the main effect size above which a marker is designated as a covariate. |
markers |
Marker covariates can also be designated manually. markers takes in a vector of marker names or numbers and assigns the designated markers as covariates. |
This function returns the data object with additional
information specifying which markers are to be used as covariates.
this information can be retrieved with get_covar
.
get_covar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.