calcUniVar: Core Univariate Analysis Function

View source: R/analysisUnivar.R

calcUniVarR Documentation

Core Univariate Analysis Function

Description

Core Univariate Analysis Function

Usage

calcUniVar(
  data,
  factor,
  stratifiers = NULL,
  features,
  param = F,
  pairwise_comparisons = NULL
)

Arguments

data

Data table containing metadata and count values with samples as rows and metadata factors or features as columns

factor

Factor along which to form groups from the samples and perform the statistical analysis

stratifiers

(Optional) One or two factors to stratify the groups by

features

List of features to analyze. Defaults to all

param

Run parametrized or nonparametrized univariate analysis? Default is FALSE

pairwise_comparisons

For 3 or more groups, list of vectors of pairwise comparisons to conduct. Defaults to all possible pairwise comparisons

Value

List containing a table for overall statistics results and the features that were skipped due to having the same mean. For analyses with 3 or more groups, also contains a second table with the pairwise statistics results


microresearcher/MicroVis documentation built on Feb. 8, 2024, 10:59 a.m.