View source: R/Script_PLATE_06_MODALITY_ANALYSIS_2_2_PropModality_Bar.R
PropModality.Bar | R Documentation |
Tabulates and plots the proportion of each modality broken down by splicing event type.
PropModality.Bar( MarvelObject, modality.column, modality.type, event.type, xlabels.size = 8, zoom = FALSE, yinterval = NULL, prop.test, prop.adj )
MarvelObject |
Marvel object. S3 object generated from |
modality.column |
Character string. Can take the value |
modality.type |
Character string. |
event.type |
Character string. To indicate which event type to analyse. Can take the value |
xlabels.size |
Numeric value. Size of x-axis labels as per |
zoom |
Logical value. If set to |
yinterval |
Logical value. Only applicable when |
prop.test |
Character string. Only applicable when |
prop.adj |
Character string. Only applicable when |
An object of class S3 containing new slots MarvelObject$Modality$Prop$BarChart$Table
and MarvelObject$Modality$Prop$BarChart$Stats
.
marvel.demo <- readRDS(system.file("extdata/data", "marvel.demo.rds", package="MARVEL")) marvel.demo <- PropModality.Bar(MarvelObject=marvel.demo, modality.column="modality.bimodal.adj", modality.type="extended", event.type=c("SE", "MXE", "RI", "A5SS", "A3SS", "AFE", "ALE"), prop.test="fisher", prop.adj="fdr" ) # Check outputs head(marvel.demo$Modality$Prop$BarChart$Table) marvel.demo$Modality$Prop$BarChart$Plot marvel.demo$Modality$Prop$BarChart$Stats
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.