Description Usage Arguments Value Examples
View source: R/plotDistance2Codon.R
Metaplot of P site distribution in all the CDS aligned by the start codon or stop codon.
1 2 3 4 5 6 | plotDistance2Codon(
reads,
start = TRUE,
anchor = 50,
col = c(Frame_0 = "#009E73", Frame_1 = "#D55E00", Frame_2 = "#0072B2")
)
|
reads |
Output of assignReadingFrame. |
start |
Plot for start codon or stop codon. |
anchor |
The maximal xlim or (min, max) position for plot. |
col |
Colors for different reading frame. |
Invisible height of the barplot.
1 2 3 4 5 | pcs <- readRDS(system.file("extdata", "samplePc.rds",
package="ribosomeProfilingQC"))
plotDistance2Codon(pcs)
#plotDistance2Codon(pcs, start=FALSE)
#plotDistance2Codon(pcs, anchor=c(-10, 20))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.