cal_scalefactor: cal_scalefactor

View source: R/cal_scalefactor.R

cal_scalefactorR Documentation

cal_scalefactor

Description

used for generate a scale factor from bias-corrected Z score for TRS scale and normalization

Usage

cal_scalefactor(z_score, percent_cut = 0.01)

Arguments

z_score

a numeric vector that is original Z scores for individual cells calculated from gchromVAR

percent_cut

a numeric number (0, 1) indicating what percentage of most enriched cells will be selected to calculate scale factor

Value

a numeric value

Examples

## Not run:  cal_scalefactor <- seedindx(z_score_mat$z_score, 0.01)


fl-yu/SCAVENGE documentation built on April 2, 2022, 10:56 a.m.