scale_scores: Scaling scores based on estimated null distribution

View source: R/cbea_internals.R

scale_scoresR Documentation

Scaling scores based on estimated null distribution

Description

Scaling scores based on estimated null distribution

Usage

scale_scores(scores, method, param, distr, thresh = 0.05)

Arguments

scores

(Numeric Vector). Raw CBEA scores generated without permutations

method

(String). The final form that the user want to return. Options include cdf, zscore, pval and sig.

param

(List). The parameters of the estimated null distribution. Names must match distribution.

thresh

(Numeric). The threshold to decide whether a set is significantly enriched. Only available if method is sig

Value

A vector of size n where n is the sample size


qpmnguyen/teaR documentation built on April 4, 2022, 7:26 p.m.