Compare enrichment in finding back the most important genes

Compare enrichment in finding back the most important genes

calculate_featureimp_enrichment(dataset, prediction,
  expression_source = dataset$expression,
  fi_method = dynfeature::fi_ranger_rf_lite())

Arguments

dataset

A dataset

prediction

A predicted trajectory

expression_source

The expression data matrix, with features as columns.

  • If a matrix is provided, it is used as is.

  • If a character is provided, dataset[[expression_source]] should contain the matrix.

  • If a function is provided, that function will be called in order to obtain the expression (useful for lazy loading).

fi_method

A feature importance method. Default: fi_ranger_rf_lite(). Check ?fi_methods for a full list of available feature importance methods.