Description Usage Arguments Value
Generate activity scores (embeddings) for a feature set in a sample matrix
1 | geneset_embed(mat_datExpr, vec_geneWeights, min_feats_present = 5)
|
mat_datExpr |
a m feature * n sample matrix |
vec_geneWeights |
a numeric vector of weights with feature names. Weights should be pre-normalized |
min_feats_present |
a minimum number of features shared between mat_datExpr and vec_geneWeights |
returns a n vector of gene weights, scaled to 1 standard deviation, but not centred.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.