Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/RcadeAnalysis.R
The main function in Rcade - reads in DE information, processes ChIP data from raw .bam files, and then combines the two to form an Rcade object.
1 | RcadeAnalysis(DE, ChIPannoZones, annoZoneGeneidName, ChIPtargets, ChIPfileDir, cl, DElookup, DE.prior = NULL, prior.mode="assumeIndependent", prior=NULL, ...)
|
DE |
|
ChIPannoZones |
|
annoZoneGeneidName |
|
ChIPtargets |
|
ChIPfileDir |
|
cl |
A |
DElookup |
|
DE.prior |
For example, if using DE analysis from the limma package (default settings), then set |
prior.mode |
The method used to create prior probabilities in the Rcade table. Current options are:
|
prior |
See |
... |
Additional arguments. |
This is the main analysis function in Rcade. The user should specify information relating to the DE and ChIP data for the experiment in question. Rcade will process these data and rank genes by the combined DE and ChIP strength.
An Rcade object.
Jonathan Cairns
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | dir <- file.path(system.file("extdata", package="Rcade"), "STAT1")
DE <- read.csv(file.path(dir, "DE.csv"))
DElookup <- list(GeneID="ENSG", logFC="logFC", B="B",
"Genes.Location", "Symbol")
targets <- read.csv(file.path(dir, "targets.csv"), as.is = TRUE)
anno <- read.csv(file.path(dir, "anno.csv"))
anno <- anno[order(anno$chromosome_name),]
colnames(anno) <- c("ENSG","chr","start","end","str")
ChIPannoZones <- defineBins(anno, zone=c(-1500, 1500), geneID="ENSG")
Rcade <- RcadeAnalysis(DE, ChIPannoZones, annoZoneGeneidName="ENSG", ChIPtargets=targets, ChIPfileDir = dir,
DElookup=DElookup)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.