psiPlot: psiPlot

psiPlotR Documentation

psiPlot

Description

Plots percentage spliced in (PSI) values in terms of inclusion levels

Usage

psiPlot(df = NULL, type = "MATS", sample_labels = c("Sample 1", "Sample 2"))

Arguments

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

Value

bar plot of PSI values

Author(s)

Diana Low

Examples

#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')


dianalow/SPLINTER documentation built on March 28, 2024, 2:07 p.m.