Error checks and plotting speedups for dive_phe2mash function

This commit is contained in:
2021-03-31 18:17:02 -05:00
parent 027323acf6
commit 1edd72d15e
26 changed files with 779 additions and 63 deletions

21
man/get_log10bf.Rd Normal file
View File

@@ -0,0 +1,21 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mash-evaluation.R
\name{get_log10bf}
\alias{get_log10bf}
\title{Return the Bayes Factor for each effect}
\usage{
get_log10bf(m)
}
\arguments{
\item{m}{the mash result (from joint or 1by1 analysis); must have been
computed using usepointmass = TRUE}
}
\value{
if m was fitted using usepointmass=TRUE then returns a vector of
the log10(bf) values for each effect. That is, the jth element
lbf_j is log10(Pr(Bj | g = ghat-nonnull)/Pr(Bj | g = 0)) where gha
t-nonnull is the non-null part of ghat. Otherwise returns NULL.
}
\description{
Return the Bayes Factor for each effect
}