psiPlot {SPLINTER} | R 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')

[Package SPLINTER version 1.13.3 Index]