View source: R/haplotype_test_functions.R
characterize_haplotypes | R Documentation |
This function takes the haplotype configurations in the standard input format and reshapes them for more intuitive processing. See the sample dataset
characterize_haplotypes( dataset, beta_config, qtl_allele_frequency_column = "qtl_af", gene_name_column = "gene" )
dataset |
A data.frame or tibble. The input dataset. See sample data for format |
beta_config |
Vector. The values assigned to beta for each haplotype possibility. This can be changed to tweak the hypothesis. Values are provided in the package as 'beta_config_eqtl' and 'beta_config_sqtl', depending on the hypothesis you are testing. |
qtl_allele_frequency_column |
String. The name of the column in the input data with QTL allele frequencies. Default: 'sqtl_af' the modified penetrance hypothesis. |
gene_name_column |
String. The name of the column in the input data with the gene name. Default: 'gene' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.