Compare feature importances derived by both trajectories

Compare feature importances derived by both trajectories

calculate_featureimp_cor(dataset, prediction,
  expression_source = dataset$expression_source,
  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.