View source: R/cal_scalefactor.R
cal_scalefactor | R Documentation |
Used for generate a scale factor from bias-corrected Z score for TRS scale and normalization.
cal_scalefactor(z_score, percent_cut = 0.01)
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. |
a numeric value
z_score <- example_results$mono_mat$z_score sf <- cal_scalefactor(z_score = z_score)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.