gene_locus_list: Generate a named list of (e)Gene-Locus pairs

View source: R/gene_locus_list.R

gene_locus_listR Documentation

Generate a named list of (e)Gene-Locus pairs

Description

This object is to be passed to the loci= argument in echolocatoR::finemap_loci().

Usage

gene_locus_list(
  loci = NULL,
  topSNPs = NULL,
  drop_missing_loci = TRUE,
  dataset_type = NULL,
  verbose = TRUE
)

Arguments

loci

User-supplied locus list.

topSNPs

Output of the function import_topSNPs, containing the top (index) SNPs per locus.

drop_missing_loci

Drop loci that are missing from topSNPs$Locus.

dataset_type

The kind dataset you're fine-mapping (e.g. GWAS, eQTL, tQTL).

verbose

Print messages.

Value

Named list

Examples

loci <- gene_locus_list(topSNPs = echodata::topSNPs_Nalls2019,
                        dataset_type = "QTL")

RajLabMSSM/echodata documentation built on Nov. 21, 2023, 8 a.m.