Switch to unified view

a b/man/inverse_metaAnalaysis.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/shaPRS.R
3
\name{inverse_metaAnalaysis}
4
\alias{inverse_metaAnalaysis}
5
\title{Generic inverse variance meta analysis}
6
\usage{
7
inverse_metaAnalaysis(proximal, adjunct, rho = 0, discardAmbiguousSNPs = T)
8
}
9
\arguments{
10
\item{proximal}{dataframe for main proximal}
11
12
\item{adjunct}{dataframe for other proximal}
13
14
\item{rho}{(optional) overlap between studies}
15
16
\item{discardAmbiguousSNPs}{(optional) if ambiguous SNPs (G/C and A/T) should be discarded (default TRUE)}
17
}
18
\value{
19
returns Combinedpheno dataframe that can be plugged into shaPRS_blend or shaPRS_composite
20
}
21
\description{
22
Convenience function to produce the combined phenotype estimate if we only have summary stats for phenoA and pheno B
23
}