RajLabMSSM / echodata

echoverse module: Example data.
https://rajlabmssm.github.io/echodata
0 stars 0 forks source link

`gene_locus_list`: add to echoverse #3

Closed bschilder closed 2 years ago

bschilder commented 2 years ago

This function got lost at some point, but it's used in the QTL vignette

#' Generate a named list of [e]gene-locus pairs
#'
#' @export
gene_locus_list <- function(top_SNPs){
  setNames(top_SNPs$Locus, top_SNPs$Gene)
}