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 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:
CellSurvAssay R package: This helps even beginner R users to perform the analysis in R, while maintaining the flexibility of a package.
CellSurvAssay Shiny app: This is a web application that helps users with no experience in R to perform the analysis, in R. The app is based on the CellSurvAssay R package and can be accessed here.
ggplot()
to plot the cell survival curves, and builds better quality figures than other available R packages,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.
# 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")
importData()
helps import the data set. datatab <- importData("path/to/file", "type of file")
datatab <- CASP8_data
lqmodelFit()
function helps fit the linear quadratic model for any cell type present in the imported data.lqmodelFit(datatab, "shCASP8-N")
plotCSCurve()
and ggplotCSCurve()
.ggplot()
function of R to plot the curves, allowing all the customizations and better graphics. It also allows to easily download the figures plotted in the users' own specifications.ggplotCSCurve(datatab, "shCASP8-NT")
ggplotCSCurve(datatab, "shCASP8-NT", "shCASP8-B", "shCASP8-B+Z", "shCASP8-B+Z+N")
compareCurves()
function helps us statistically compare two curves. It prints the ANOVA results.compareCurves(datatab, "shCASP8-N", "shCASP8-B+Z+N")
calculateDER()
calculates the Dose Enhancement Ratio.calculateDER(datatab, "shCASP8-NT", "shCASP8-N", 0.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.