Description Usage Arguments Details Value
View source: R/align_alleles.R
align_alleles
compute variance weighted euclidean distance between two PC loading vectors a and b
1 | align_alleles(gwas.DT, ref.DT, check = FALSE)
|
gwas.DT |
a data.table of GWAS data see |
ref.DT |
a data.table of reference alleles (see details) |
check |
boolean scalar whether to add column of transformations for checking |
this routine lines up on reference 'a1' this is arbitrary but as long as consistency is maintained then the basis can be correctly created
gwas.DT with allele aligned DT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.