Extracts results in form of character vectors.

getSgsResultsVec(object, ...)

# S4 method for class 'SpatialGradientScreening'
getSgsResultsVec(
  object,
  eval = "mae",
  pval = "fdr",
  arrange_by = eval,
  threshold_eval = 0.25,
  threshold_pval = 0.05,
  model_subset = NULL,
  model_remove = NULL,
  name_output = FALSE
)

Arguments

object

Any object for which a method has been defined.

name_output

If TRUE, the output vector is equipped with names that correspond to the model that fit best to the gradient.

Value

Named character vector. Values are the variable/gene names. Names correspond to the model that fitted best.

Details

Extraction works similar to getSgsResultsDf(). Argument best_only, however, is always set to TRUE.