Calculate scores of each cell on given features
gs_score_init(score, features = NULL)
Arguments
- score
matrix, features in row and samples in column
- features
vector, feature names to compute score
Examples
data <- matrix(rnorm(100), 10, dimnames = list(1:10))
gs_score_init(data, 1:5)
#> [1] 0.138240292 -0.683967493 0.206454318 -0.630049756 -0.009214184
#> [6] -0.376456584 0.134120331 -0.261673479 0.590076154 -0.911649286