Description Usage Arguments Value Author(s) See Also
View source: R/functions_moloc.R View source: R/align_alleles_betas.R
Match alleles to a reference and flip betas
Match alleles to a reference and flip betas
1 2 3 4 5 | match_alleles(data, A1.ref = "A1.ref", A2.ref = "A2.ref", A1.data = "A1",
A2.data = "A2", BETA.data = "BETA", flip = TRUE)
match_alleles(data, A1.ref = "A1.ref", A2.ref = "A2.ref", A1.data = "A1",
A2.data = "A2", BETA.data = "BETA", flip = TRUE)
|
data, |
is a data.frame with columns A1 and A2, and reference alleles that need to match |
A1.ref |
column names of ref alleles for A1 in the same data frame |
A2.ref |
column names of ref alleles for A2 in the same data frame |
flip |
logical, whether to flip the betas if the alleles are flipped |
data, |
is a data.frame with columns A1 and A2, and reference alleles that need to match |
A1.ref |
column names of ref alleles for A1 in the same data frame |
A2.ref |
column names of ref alleles for A2 in the same data frame |
flip |
logical, whether to flip the betas if the alleles are flipped |
data frame
data frame
Claudia Giambartolomei, James Boocock
Claudia Giambartolomei, James Boocock
Other align.functions: change_indels
,
complement_snp
Other align.functions: change_indels
,
complement_snp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.