View source: R/calculate_geneset_enrichment.r
calculate_geneset_enrichment | R Documentation |
Assumes that you have already run map_snps_to_genes.
calculate_geneset_enrichment(
geneset,
gwas_sumstats_path = NULL,
magma_dir = NULL,
analysis_name,
upstream_kb = 35,
downstream_kb = 10,
geneset_species = "mouse",
version = NULL,
verbose = TRUE
)
geneset |
Genes which are to be tested. Can be gene symbols (or other gene IDs) from any species listed in list_species. |
gwas_sumstats_path |
File path of the summary statistics file. |
magma_dir |
Path to folder containing the pre-computed MAGMA GWAS files (.gsa.rawand .gsa.out). |
analysis_name |
Used in file names which area created. |
upstream_kb |
How many kb upstream of the gene should SNPs be included? |
downstream_kb |
How many kb downstream of the gene should SNPs be included? |
geneset_species |
Species that the |
version |
MAGMA version to use. |
verbose |
Print messages. |
Filepath for the genes.out file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.