compute_camera: Compute Camera

View source: R/camera_method.R

compute_cameraR Documentation

Compute Camera

Description

This internal function computes the actual hits using the camera method.

Usage

compute_camera(
  xglm,
  lrt,
  DGEList,
  matrix_model,
  contrast,
  number_barcode = 3,
  thresh = 1e-04,
  lfc = 1
)

Arguments

xglm

object created with estimateDisp

lrt

object created with glmFit

DGEList

edgeR object

...

Arguments passed on to find_camera_hit

matrix_model

The matrix that will be used to perform the linear model analysis created using model.matrix

thresh

The threshold for the False Discovery Rate (FDR) that has to be used to select the statistically significant hits.

lfc

The Log2FC threshold.

number_barcode

Number of barcode that as to be differentially expressed (DE)in order to consider the gene associated DE. Example a gene is associated with 10 shRNA we consider a gene DE if it has at least number_barcode = 5 shRNA DE.

Value

The list of hits found by the camera method


EmanuelSoda/ScreenR documentation built on Sept. 29, 2023, 12:33 a.m.