Description Usage Arguments Value Examples
create regulatory model of the gene, following all the specified options, one stage at a time, saving intermedate data
1 2 | ## S4 method for signature 'FootprintDatabaseModelBuilder'
staged.build(obj, stage = c("find.footprints", "associateTFs", "build.models"))
|
obj |
An object of class FootprintDatabaseModelBuilder |
stage |
a character string, one of "find.footprints", "associateTFs", "build.models" |
strategy |
a list specifying all the options to build one or more models |
A list with two data.frames, "model" and "regulatoryRegions"
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | if(interactive()){
fp.specs <- list(title="fp.2000up.200down",
type="database.footprints",
chrom="chr6",
tss=41163186,
start=(tss-2000),
downstream=(tss+200),
matrix
db.host="khaleesi.systemsbiology.net",
databases=list("brain_hint_20"),
motifDiscovery="builtinFimo",
tfMapping=c("TFClass", "MotifDB"),
tfPrefilterCorrelation=0.2)
fpBuilder <- FootprintDatabaseModelBuilder("hg38", "TREM2", fp.specs, quiet=TRUE)
load(system.file(package="trenaSGM", "extdata", "mayo.tcx.RData"))
staged.build(fpBuilder, mtx, stage="find.footprints")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.