standardize_gene_locus_cols: Standardizse gene/locus columns

View source: R/standardize_gene_locus_cols.R

standardize_gene_locus_colsR Documentation

Standardizse gene/locus columns

Description

Standardizse Gene and Locus columns in topSNPs.

Usage

standardize_gene_locus_cols(
  topSNPs,
  Locus = "Locus",
  Gene = "Gene",
  grouping_vars = Locus,
  verbose = TRUE
)

Arguments

Locus

Column containing unique locus name.

grouping_vars

The variables that you want to group by such that each grouping_var combination has its own index SNP. For example, if you want one index SNP per QTL eGene - GWAS locus pair, you could supply: grouping_vars=c("Locus","Gene").

verbose

Print messages.

Value

topSNPs


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