View source: R/get_marker_covar.R
get_marker_covar | R Documentation |
In some cape results plotting functions either marker genotypes or covariates can be used for plotting effects on traits. However markers and covariates are stored in different places so it can be annoying to retrieve their values.
get_marker_covar(data_obj, geno_obj, marker_covar_names)
data_obj |
A |
geno_obj |
A genotype object |
marker_covar_names |
A vector of strings which can contain marker names with alleles appended or covariate names. |
This function looks both in the genotype matrix and in covariate tables to find those values.
This function returns a matrix with individuals in rows and markers/covariates in columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.