flip_to_positive_allele_for_dat1: Flip to the positive allele for dataset 1

View source: R/effectplot.R

flip_to_positive_allele_for_dat1R Documentation

Flip to the positive allele for dataset 1

Description

flip_to_positive_allele_for_dat1()

Usage

flip_to_positive_allele_for_dat1(df)

Arguments

df

A dataframe that is in the snpset format (like returned by the get_snpset() function)

Value

The input dataframe after flipping to the positive effect allele in dataframe 1

Examples

## Not run: 
CD_UKBB_index_snps <- get_lead_snps(CD_UKBB)
snpset <- get_snpset(CD_UKBB_index_snps, CD_FINNGEN)
flip_to_positive_allele_for_dat1(snpset$matched)

## End(Not run)


topr documentation built on June 22, 2024, 9:59 a.m.