Description Usage Arguments Details See Also Examples
This function is used to draw Enriment Score curves for specific sites.
1 2 3 | drawEScurve(curveInfoDataFrame, sites=NULL, max_p_value=0.1, min_es=0.2, outputDir=NULL, figKind=c("pdf","jpeg"))
## S4 method for signature 'data.frame'
drawEScurve(curveInfoDataFrame, sites=NULL, max_p_value=0.1, min_es=0.2, outputDir=NULL, figKind=c("pdf","jpeg"))
|
curveInfoDataFrame |
data.frame object: contains curve information for sites, see example. |
sites |
character vector: only draw curves for sites with ids appear in this vector. |
max_p_value |
numeric(1), only draw curves for sites with p-value less than this value. |
min_es |
numeric(1), only draw curves for sites with Enriment Score more than this value. |
outputDir |
character(1), output directory name for all the figures. |
figKind |
character(1), fig format: |
This function is used to draw Enrichment Score curves for specific sites.
These curves show running-sum process for calculating enrichment score.
The data.frame object contains curve information is given by
asebSites
or asebProteins
.
SequenceInfo
,
readSequence
,
asebSites
,
asebProteins
,
drawStat
.
1 2 3 4 5 6 | backgroundSites <- readSequence(system.file("extdata", "background_sites.fa", package="ASEB"))
prodefinedSites <- readSequence(system.file("extdata", "predefined_sites.fa", package="ASEB"))
testSites <- readSequence(system.file("extdata", "sites_to_test.fa", package="ASEB"))
resultList <- asebSites(backgroundSites, prodefinedSites, testSites, permutationTimes=100)
drawEScurve(resultList$curveInfo, max_p_value=0.1, min_es=0.1, outputDir=tempdir(), figKind="jpeg")
cat("see figures in output dir:", tempdir(),"\n")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.