View source: R/preprocessing.R
returns 2 snps each that have lowest, positive high, positive low, negative high, negative low correlation. uses pearson correlation For examples see vignette browseVignettes('MRTool')
1 | get_corrs(genedose_test, method = "pearson")
|
genedose_test |
snp datatable. first two columns identifiers |
method |
used to compute correlation coefficient. 'pearson' (default), 'kendall' or 'spearman' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.