getDeseqRes | R Documentation |
The helper functions getDeseqRes() identifies differentially expressed circRNAs. The latter uses respectively the R Bioconductor packages DESeq2 which implements a beta-binomial model to model changes in circRNA expression.
getDeseqRes(
backSplicedJunctions,
condition,
pAdjustMethod = "BH",
pathToExperiment = NULL,
...
)
backSplicedJunctions |
A data frame containing the back-spliced junction
coordinates and counts in each analyzed sample.
See |
condition |
A string specifying which conditions to compare. Only 2 conditions at the time can be analyzed. Separate the 2 conditions with a dash, e.g. A-B. Use the same name used in column condition in experiment.txt. log2FC calculation is perfomed by comparing the condition positioned forward against the condition positioned backward in the alphabet. E.g. if there are 2 conditions A and B then a negative log2FC means that in condition B there is a downregulation of the corresponding circRNA. If a positive log2FC is found means that there is an upregulation in condition B of that circRNA. |
pAdjustMethod |
A character string stating the method used to adjust
p-values for multiple testing. See |
pathToExperiment |
A string containing the path to the experiment.txt file. The file experiment.txt contains the experiment design information. It must have at least 3 columns with headers:
By default pathToExperiment is set to NULL and the file it is searched in the working directory. If experiment.txt is located in a different directory then the path needs to be specified. |
... |
Arguments to be passed to the DESeq function used internally from
DESeq2 package. If nothing is specified the default
values of the function |
A data frame.
# Load a data frame containing detected back-spliced junctions
data("mergedBSJunctions")
pathToExperiment <- system.file("extdata", "experiment.txt",
package ="circRNAprofiler")
# Filter circRNAs
filteredCirc <- filterCirc(
mergedBSJunctions,
allSamples = FALSE,
min = 5,
pathToExperiment)
# Find differentially expressed circRNAs
deseqResBvsA <- getDeseqRes(
filteredCirc,
condition = "A-B",
pAdjustMethod = "BH",
pathToExperiment)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.