Description Usage Arguments Value Examples
given a matrix of subjects x SNP calls, count number of risky alleles for various conditions, relative to NHGRI GWAS catalog
1 2 3 | riskyAlleleCount(callmat, matIsAB = TRUE, chr,
gwwl , snpap = "SNPlocs.Hsapiens.dbSNP144.GRCh37",
gencode = c("A/A", "A/B", "B/B"))
|
callmat |
matrix with subjects as rows, SNPs as columns; entries can be generic A/A, A/B, B/B, or specific nucleotide calls |
matIsAB |
logical, FALSE if nucleotide codes are present, TRUE if generic call codes are present; in the latter case, gwascat:::ABmat2nuc will be run |
chr |
code for chromosome, should work with the SNP annotation getSNPlocs function, so likely "ch[nn]" |
gwwl |
an instance of |
snpap |
name of a Bioconductor SNPlocs.Hsapiens.dbSNP.* package |
gencode |
codes used for generic SNP call |
matrix with rows corresponding to subjects , columns corresponding to SNP
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.