knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  echo = TRUE,
  warning = FALSE,
  message = FALSE
)
knitr::include_graphics("./man/figures/CellSurvAssay.png")

CellSurvAssay

CellSurvAssay consists of a couple of tools that can be used to perform Clonogenic Survival Analysis in R very easily and efficiently. These two tools are:

Purpose of the CellSurvAssay R package


Below is just a quick workflow that can be used to perform Clonogenic Survival Analysis using this package. For more details on the functions, different method options for parameter estimation and calculation of plating efficiency, and customization of the figures, please refer to the package vignette.


Installing the package

# if installing from Bioconductor
# install BiocManager, if required
if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
# install CellSurvAssay
BiocManager::install("CellSurvAssay")
# load CellSurvAssay in R
library(CellSurvAssay) 



# if installing from GitHub
# install devtools, if required
if(!require(devtools)) {
    install.packages("devtools")
    library(devtools)
}
# install CellSurvAssay
install_github("pickeringlab/CellSurvAssay", 
               build_vignettes = TRUE,
               dependencies = TRUE)
# load CellSurvAssay in R memory
library(CellSurvAssay)  
browseVignettes("CellSurvAssay")

Importing the data set

datatab <- importData("path/to/file", "type of file")
datatab <- CASP8_data

Fitting the Linear Quadratic Model

lqmodelFit(datatab, "shCASP8-N")

Plotting Cell Survival curves

Individual curves

ggplotCSCurve(datatab, "shCASP8-NT")

Multiple curves

ggplotCSCurve(datatab, "shCASP8-NT", "shCASP8-B", "shCASP8-B+Z", "shCASP8-B+Z+N")

Comparing two curves

compareCurves(datatab, "shCASP8-N", "shCASP8-B+Z+N")

Calculating Dose Enhancement Ratio

calculateDER(datatab, "shCASP8-NT", "shCASP8-N", 0.25)


PickeringLab/CellSurvAssay documentation built on June 15, 2022, 12:33 a.m.