alignStrands: Aligns strands between 2 summary statistics data

View source: R/shaPRS.R

alignStrandsR Documentation

Aligns strands between 2 summary statistics data

Description

Aligns strands between 2 summary statistics data

Usage

alignStrands(
  inputData,
  A1.x = "A1.x",
  A2.x = "A2.x",
  A1.y = "A1.y",
  A2.y = "A2.y",
  discardAmbiguousSNPs = T
)

Arguments

inputData

dataframe of both studies with columns: A1.x, A2.x, A1.y, A2.y

A1.x

(optional) column name for A1 allele in study 1 (default "A1.x")

A2.x

(optional) column name for A2 allele in study 1 (default "A2.x")

A1.y

(optional) column name for A1 allele in study 2 (default "A1.y")

A2.y

(optional) column name for A1 allele in study 2 (default "A2.y")

discardAmbiguousSNPs

(optional) if ambiguous SNPs (G/C and A/T) should be discarded (default TRUE)

Value

returns real value of the approximate correlation


mkelcb/shaprs documentation built on Feb. 7, 2023, 7:16 p.m.