Description Usage Arguments Details Value Author(s) References Examples
View source: R/plotOptimalHeatMapDev.R
plotOptimalHeatMaps
will plot heat maps of optimal
Parameters and highlight the optimal combination of
lambdaPWM
and boundMolecules
1 |
optimalParam |
|
contour |
|
col |
|
main |
|
layout |
|
overlay |
|
Once the optimal set of Parameters ( lambdaPWM
and boundMolecules
), it is possible to plot the results
in the form of a heat map. Each heat map will be plotted in a seperate page if
layout = TRUE, If layout= FALSE, it is up to the user to define how they wish
to layout there heat maps.
Returns a heat map of optimal combinations of lambdaPWM
and boundMolecules
. The x axis represents the different
value assigned to lambda ( lambdaPWM
)
and the y axis represents the different values to boundMolecules
( boundMolecules
).
Patrick C. N. Martin <pm16057@essex.ac.uk>
Zabet NR, Adryan B (2015) Estimating binding properties of transcription factors from genome-wide binding profiles. Nucleic Acids Res., 43, 84–94.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #Data extraction
data(ChIPanalyserData)
# path to Position Frequency Matrix
PFM <- file.path(system.file("extdata",package="ChIPanalyser"),"BCDSlx.pfm")
#As an example of genome, this example will run on the Drosophila genome
if(!require("BSgenome.Dmelanogaster.UCSC.dm3", character.only = TRUE)){
if (!requireNamespace("BiocManager", quietly=TRUE))
install.packages("BiocManager")
BiocManager::install("BSgenome.Dmelanogaster.UCSC.dm3")
}
library(BSgenome.Dmelanogaster.UCSC.dm3)
DNASequenceSet <- getSeq(BSgenome.Dmelanogaster.UCSC.dm3)
#Building data objects
GPP <- genomicProfiles(PFM=PFM,BPFrequency=DNASequenceSet)
#Computing Optimal set of Parameters
optimalParam <- computeOptimal(genomicProfiles = GPP,
DNASequenceSet = DNASequenceSet,
ChIPScore = eveLocusChip,
chromatinState = Access,
parameterOptions = OPP,
parameter = "all",
peakMethod="moving_kernel")
plotOptimalHeatMaps(optimalParam)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.