[6b94fb]: / man / inverse_metaAnalaysis.Rd

Download this file

24 lines (20 with data), 773 Bytes

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