Description Usage Arguments Details Value Author(s) References Examples
View source: R/profileAccuracyEstimateDev.R
profileAccuracyEstimate
will compare the predicted ChIP-seq-like
profile to real ChIP-seq data and return a set of metrics describing how
accurate the predicted model is compared to real data.
1 2 | profileAccuracyEstimate(genomicProfiles,ChIPScore,
parameterOptions=NULL,method="all",cores=1)
|
genomicProfiles |
|
ChIPScore |
|
parameterOptions |
|
method |
|
cores |
|
In order to assess the quality of the model against experimental ChIP-seq data, ChIPanalyser offers a wide range of method to choose from. These methods are also used when computing optimal paramters.
Returns list of goodness of fit metrics for each loci and each parameter selected.
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<e2><80><93>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 27 28 29 30 31 32 33 | #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 genomicProfiles object
GPP <- genomicProfiles(PFM=PFM, BPFrequency=DNASequenceSet)
# Computing Genome Wide
GenomeWide <- computeGenomeWideScore(genomicProfiles = GPP,
DNASequenceSet = DNASequenceSet)
#Compute PWM Scores
PWMScores <- computePWMScore(genomicProfiles = GenomeWide,
DNASequenceSet = DNASequenceSet, loci = eveLocus, chromatinState = Access)
#Compute Occupnacy
Occupancy <- computeOccupancy(genomicProfiles = PWMScores)
#Compute ChIP profiles
chipProfile <- computeChIPProfile(genomicProfiles=Occupancy,loci=eveLocus)
#Estimating accuracy estimate
AccuracyEstimate <- profileAccuracyEstimate(genomicProfiles = chipProfile,
ChIPScore = eveLocusChip,
occupancyProfileParameters = OPP)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.