calculatePSIValues: PSI value calculation

Description Usage Arguments Value Examples

View source: R/calculatePSIValue.R

Description

This function calculates the PSI values for each junction and splice site based on the FraserDataSet object

Usage

1
2
3
4
5
6
calculatePSIValues(
  fds,
  types = psiTypes,
  overwriteCts = FALSE,
  BPPARAM = bpparam()
)

Arguments

fds

A FraserDataSet object

types

A vector with the psi types which should be calculated. Default is all of psi5, psi3 and theta.

overwriteCts

FALSE or TRUE (the default) the total counts (aka N) will be recalculated based on the existing junction counts (aka K)

BPPARAM

the BiocParallel parameters for the parallelization

Value

FraserDataSet

Examples

1
2
3
4
5
  fds <- createTestFraserDataSet()
  fds <- calculatePSIValues(fds, types="psi5")
  
  ### usually one would run this function for all psi types by using:
  # fds <- calculatePSIValues(fds)

FRASER documentation built on Feb. 3, 2021, 2:01 a.m.