makeSnps returns a list with four elements summarizing the SNPs associated with each gene via GWAS results, eQTL databases, etc. The first element (snpRes) is a list with length corresponding to the number of candidate genes and includes all associated SNPs split by source. The second element (snpList) collpases the first so only SNPs for each gene are listed, regardless of the source. The third element (snpTable) is a dataframe with two columns: SNPs and gene names. The fourth element (snpCount) is a table with the number of elements corresponding to the number of unique SNPs in the genelist - reported for each SNP is the number of times it appears. It is sorted in descending order. The structure is similar to the
A logical flag indicating whether a csv file ('Snps.csv') should be saved in the current directory.
This gives a summary of all SNPs associated with the gene. Based on all elements in the list containing SNP information: eqtl (element 14), sqtlSeek (element 15), sqtlAltrans (element 16), pqtl (element 17), dnase (element 21), gwasCatalog (element 18), grasp (element 19).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.