fit_bivariate_nv2: fit_bivariate_nv2

Description Usage Arguments Value Author(s)

View source: R/core_functions.R

Description

fit_bivariate_nv2

Usage

1
2
3
4
5
6
7
fit_bivariate_nv2(
  mean_essential,
  mean_NE,
  sd_essential,
  sd_NE,
  plot_file_name = NA
)

Arguments

mean_essential

vector of mean log-fold changes for all gRNAs targeting core essential genes, where the mean is taken across replicates or cell lines and replicates, if there are several cell lines

mean_NE

vector of mean log-fold changes for all gRNAs targeting listed nonessential genes

sd_essential

standard deviation of log-fold changes for all gRNAs targeting core essential genes

sd_NE

standard deviation of log-fold changes for all gRNAs targeting listed nonessential genes

plot_file

name (without extension) of the file with the plot of the data and prior distribution

Value

parameters of bivariate normal prior distribution for mean and standard deviation of gene essentiality

Author(s)

Magdalena Strauss


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