getResultsVec: Obtain screening results stored in vectors

getResultsVecR Documentation

Obtain screening results stored in vectors

Description

Extracts results in form of character vectors.

Usage

getResultsVec(object, ...)

## S4 method for signature 'ImageAnnotationScreening'
getResultsVec(
  object,
  eval = "ias_score",
  pval = "p_value_mean_adjusted",
  arrange_by = eval,
  threshold_eval = 0.5,
  threshold_pval = 0.05,
  model_subset = NULL,
  model_remove = NULL
)

## S4 method for signature 'SpatialTrajectoryScreening'
getResultsVec(
  object,
  eval = "sts_score",
  pval = "p_value",
  arrange_by = eval,
  threshold_eval = 0.5,
  threshold_pval = 0.05,
  model_subset = NULL,
  model_remove = NULL
)

Arguments

object

Any object for which a method has been defined.

Details

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

Value

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


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.