singleDiffAnalyses: Perform statistical analysis on a given splicing event

View source: R/analysis.R

singleDiffAnalysesR Documentation

Perform statistical analysis on a given splicing event

Description

Perform statistical analyses on a given vector containing elements from different groups

Usage

singleDiffAnalyses(
  vector,
  group,
  threshold = 1,
  step = 100,
  analyses = c("wilcoxRankSum", "ttest", "kruskal", "levene", "fligner")
)

Arguments

vector

Numeric

group

Character: group of each element in the vector

threshold

Integer: minimum number of values per group

step

Numeric: number of events before the progress bar is updated (a bigger number allows for a faster execution)

analyses

Character: analyses to perform (see Details)

Details

The following statistical analyses may be performed by including the respective string in the analysis argument:

  • ttest - Unpaired t-test (2 groups)

  • wilcoxRankSum - Wilcoxon Rank Sum test (2 groups)

  • kruskal - Kruskal test (2 or more groups)

  • levene - Levene's test (2 or more groups)

  • fligner - Fligner-Killeen test (2 or more groups)

Value

A row from a data frame with the results


nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.