Usage
stat.DESeq(untreated.list,treated.list,namecolumn=1, fullmatchcolumn=2,
agg.function=sum, extractpattern=expression("^(.+?)_.+"), sorting=FALSE,
sgRNA.pval = 0.01, filename.deseq="data", fitType="parametric", p.adjust="holm")
Arguments
untreated.list
A list of data.frames of untreated, control samples. e.g. list(df.control1, df.control2)
treated.list
A list of data.frames of treated samples. e.g. list(df.treated1, df.treated2)
namecolumn
In which the target names are located, e.g. namecolumn=1 for the first columns.
fullmatchcolumn
Column, in which readcounts are located, e.g. fullmatchcolumn=2 for the second column.
agg.function
Function used to aggregate gene data from individual sgRNA data. By default, agg.function=mean, but it can be any other function e.g. sum or median.
extractpattern
Regular Expression, used to extract the gene name from the sgRNA name. Please make sure that the gene name extracted is accesible by putting its regular expression in brackets (). The default value expression("^(.+?)_.+") will look for the gene name (.+?)
sorting
Defines whether the final output is sorted by the calculated p-value. By default, sorting=FALSE will return a table sorted by gene name.
sgRNA.pval
p-value threshold to count significant sgRNAs for each gene.
*Default* 0.001
*Value* (numeric)
filename.deseq
Filename of raw DESeq2 data output.
*Default* "data"
*Values* (character)
fitType
See `?DESeq2`.
*Default* "parametric"
*Values* "parametric", "local" "mean"
p.adjust
Method to adjust p-value for multiple testing. See `?DEseq2`.
*Default* "holm"
*Values* see `?DESeq2`