psiPlot | R Documentation |
Plots percentage spliced in (PSI) values in terms of inclusion levels
psiPlot(df = NULL, type = "MATS", sample_labels = c("Sample 1", "Sample 2"))
df |
data.frame containing PSI values |
type |
character. either 'MATS' output (will read in MATS headers) or 'generic' (provide 4 or 6 column data.frame) |
sample_labels |
x-axis labels for the plot |
bar plot of PSI values
Diana Low
#we give inclusion and skipped numbers as reads
#this will be converted into percentages
df<-data.frame(inclusion1=c("6,4,6"),skipped1=c("10,12,12"),inclusion2=c("15,15,15"),
skipped2=c("3,3,4"),stringsAsFactors = FALSE)
psiPlot(df,type='generic')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.