Retrieve genes from the MHC (Major Histocompatibility Complex) region.
get_mhc_genes( seqnames = "chr6:25000000-34000000", ref_genome = "GRCh37", force_new = FALSE, verbose = TRUE )
seqnames | Genomic ranges to search for genes. |
---|---|
ref_genome | name of the reference genome used for the GWAS ("GRCh37" or "GRCh38"). Argument is case-insensitive. Default is NULL which infers the reference genome from the data. |
force_new | Query for all genes within |
verbose | Print messages. |
The MHC region tends to be ubiquitously associated with all GWAS, so removing it allows us to focus on non-MHC signals of interest. For further information related to the MHC region, see the sources below.
MHC_genes <- get_mhc_genes()