seedindex: seedindx

View source: R/seedindx.R

seedindexR Documentation

seedindx

Description

used for generate seed cell index from bias-corrected Z score

Usage

seedindex(z_score, percent_cut = 0.05)

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 cells will be selected as seed cells if too many cells fit the P value<0.05 cutoff.

Value

a logical vector indicating seed cells or not.

Examples

z_score <- example_results$mono_mat$z_score
seed_idx <- seedindex(z_score = z_score, percent_cut = 0.1)

sankaranlab/SCAVENGE documentation built on March 2, 2023, 2:17 a.m.