Description Usage Arguments Value Examples
This function plots some results from the result of getPeriodicity(). It plots the raw distogram, the distance-decay normalized distogram and the resulting PSD values. If a shuffled control has been performed by getPeriodicity(), it also displays it.
1 2 3 4 5 6 7 8 9 |
results |
The output of getPeriodicity function. |
periods |
Vector a numerical vector of length 2, to specify the x-axis limits |
filter_periods |
Boolean Should the x-axis be constrained to the periods? |
facet_control |
Boolean should the shuffling plots be faceted? |
xlim |
Integer x axis upper limit in raw and norm. distograms |
fdr_threshold |
Float, significance threshold |
... |
Additional theme arguments passed to theme_ggplot2() |
list A list containing four ggplots
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(ce11_TSSs)
periodicity_result <- getPeriodicity(
ce11_TSSs[['Ubiq.']][1:100],
genome = 'BSgenome.Celegans.UCSC.ce11',
motif = 'TT',
BPPARAM = setUpBPPARAM(1)
)
head(periodicity_result$PSD)
plotPeriodicityResults(periodicity_result)
plotPeriodicityResults(periodicity_result, xlim = 150)
plotPeriodicityResults(
periodicity_result, xlim = 150, filter_periods = FALSE
)
plotPeriodicityResults(
periodicity_result, xlim = 150, facet_control = FALSE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.