|
a |
|
b/man/alignStrands.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/shaPRS.R |
|
|
3 |
\name{alignStrands} |
|
|
4 |
\alias{alignStrands} |
|
|
5 |
\title{Aligns strands between 2 summary statistics data} |
|
|
6 |
\usage{ |
|
|
7 |
alignStrands( |
|
|
8 |
inputData, |
|
|
9 |
A1.x = "A1.x", |
|
|
10 |
A2.x = "A2.x", |
|
|
11 |
A1.y = "A1.y", |
|
|
12 |
A2.y = "A2.y", |
|
|
13 |
discardAmbiguousSNPs = T |
|
|
14 |
) |
|
|
15 |
} |
|
|
16 |
\arguments{ |
|
|
17 |
\item{inputData}{dataframe of both studies with columns: A1.x, A2.x, A1.y, A2.y} |
|
|
18 |
|
|
|
19 |
\item{A1.x}{(optional) column name for A1 allele in study 1 (default "A1.x")} |
|
|
20 |
|
|
|
21 |
\item{A2.x}{(optional) column name for A2 allele in study 1 (default "A2.x")} |
|
|
22 |
|
|
|
23 |
\item{A1.y}{(optional) column name for A1 allele in study 2 (default "A1.y")} |
|
|
24 |
|
|
|
25 |
\item{A2.y}{(optional) column name for A1 allele in study 2 (default "A2.y")} |
|
|
26 |
|
|
|
27 |
\item{discardAmbiguousSNPs}{(optional) if ambiguous SNPs (G/C and A/T) should be discarded (default TRUE)} |
|
|
28 |
} |
|
|
29 |
\value{ |
|
|
30 |
returns real value of the approximate correlation |
|
|
31 |
} |
|
|
32 |
\description{ |
|
|
33 |
Aligns strands between 2 summary statistics data |
|
|
34 |
} |