auto_topSNPs_sub: Automatically identify top SNP per locus

View source: R/auto_topSNPs_sub.R

auto_topSNPs_subR Documentation

Automatically identify top SNP per locus

Description

If no topSNPs dataframe is supplied, this function will sort by p-value and then effect size, and use the SNP in the first row.

Usage

auto_topSNPs_sub(topSNPs, query, locus)

Arguments

topSNPs

Output of import_topSNPs.

query

Summary stats subset.

locus

Locus name.

See Also

Other standardization functions: calculate_tstat()


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