cophe.single.lbf | R Documentation |
Calculate log bayes factors for each hypothesis (Single causal variant assumption)
cophe.single.lbf(dataset, querysnpid, querytrait, MAF = NULL)
dataset |
a list with specifically named elements defining the query trait dataset to be analysed. |
querysnpid |
Id of the query variant, (id in dataset$snp) |
querytrait |
Query trait name |
MAF |
Minor allele frequency vector |
data frame with log bayes factors for Hn and Ha hypotheses
Ichcha Manipur
cophe.single
library(cophescan)
data(cophe_multi_trait_data)
query_trait_1 <- cophe_multi_trait_data$summ_stat[['Trait_1']]
querysnpid <- cophe_multi_trait_data$querysnpid
res.single.lbf <- cophe.single.lbf(query_trait_1, querysnpid = querysnpid, querytrait='Trait_1')
res.single.lbf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.