getGammaScore: This function calculates gamma from screen raw read counts

View source: R/getGammaScore.R

getGammaScoreR Documentation

This function calculates gamma from screen raw read counts

Description

This function calculates gamma from screen raw read counts

Usage

getGammaScore(
  df,
  initcount,
  finalcount,
  spacertype = "spacertype",
  negctrllabel = "negctrl",
  doublings = "totaldoublings"
)

Arguments

df

is a data frame, must contain column names matching initcount, finalcount, and spacertype

initcount

is a string for name of column in df containing raw read counts of initial condition (e.g. T0 in growth screen)

finalcount

is a string for name of a column in df containing raw read counts of final condition (e.g. Tfinal in growth screen)

spacertype

string corresponding to column name in df that categorizes which rows are negative controls

negctrllabel

string corresponding to label given to negative controls in the column specified by spacertype

doublings

is a string for name of numeric column in df containing total number of cell population doublings between start and end of screen

Value

a data frame with gammascore added as column


chris-hsiung/bears01 documentation built on April 9, 2024, 2:01 a.m.