extract_from_output: extract_from_output

Description Usage Arguments Value

View source: R/post_processing_functions.R

Description

Extracts core output from the output file created by the BSure function. The extracted output is used in postprocessing functions for plotting and quality control.

Usage

1
extract_from_output(BSure_output)

Arguments

BSure_output

output created by BSure function

Value

sample_summary with mean estimates (mean) and 95% credible intervals (CI_lower_bounds for the lower bounds of the intervals, CI_upper bounds for the upper ones) of the essentiality level of each gene, the probability of a gene being highly essential (prob_essential_II; the posterior distribution of the essentiality being shifted less than 1/3 compared to a typical core-essential gene), the probability of a gene being essential of level I (no overlap with distribution of typical nonessential gene), and convergence statistics (Rhat=Gelman-Rubin R-hat statistic, tail_ESS=tail essential sample size) In addition to the sample summary: prop_expensive_sampling: proportion of genes which required a more expensive sampling algorithm prop_very_expensive_sampling: proportion of genes which required the most expensive sampling algorithm


magStra/BSure documentation built on April 27, 2021, 3:30 a.m.