find_top_consensus: Find the top Consensus SNP

View source: R/find_top_consensus.R

find_top_consensusR Documentation

Find the top Consensus SNP

Description

Identify the n_top Consensus SNP(s) per Locus, defined as the Consensus SNPs with the highest mean PP across all fine-mapping tools used.

Usage

find_top_consensus(dat, n_top = 1, grouping_vars = c("Locus"))

Arguments

dat

Fine-mapping results data.

n_top

Number of top SNPs per locus to include.

grouping_vars

Variables to group by when selecting top N rows.

Examples

dat <- echodata::find_top_consensus(dat = echodata::BST1)

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