get_accessions | R Documentation |
Obtain accession ids that carry a SNP. This function takes a table of gwas pvalues per chromosome and numeric position and retrieves the accessions that carry that SNP.
get_accessions(gwas_table, SNPrank, SNPmatrix = NULL)
gwas_table |
Object returned from |
SNPrank |
The (-log10(p)) rank of the SNP of interest |
SNPmatrix |
A path pointing to a SNPmatrix in .fst format. |
If no SNPmatrix is provided, the information will be obtained from 1001genomes.org
This function returns a single column named ACC_ID, that contains the accessions that contain the snp.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.