getResultsDf | R Documentation |
Extracts content of slot @results of screening S4 objects. For
a more detailed explanation of what the slot contains check the description
of the respective S4 class. E.g. with ?SpatialTrajectoryScreening
.
getResultsDf(object, ...)
## S4 method for signature 'ImageAnnotationScreening'
getResultsDf(
object,
eval = "ias_score",
pval = "p_value_mean_adjusted",
arrange_by = eval,
threshold_eval = 0,
threshold_pval = 1,
model_subset = NULL,
model_remove = NULL,
best_only = FALSE
)
## S4 method for signature 'SpatialTrajectoryScreening'
getResultsDf(
object,
eval = "sts_score",
pval = "p_value",
arrange_by = eval,
threshold_eval = 0,
threshold_pval = 1,
model_subset = NULL,
model_remove = NULL,
best_only = FALSE
)
object |
Any object for which a method has been defined. |
Without any argument specification the function getResultsDf()
returns
the complete data.frame. The arguments can be used to filter the results. Filtering
works as follows:
Model-fits are filtered according to the input of model_subset
and model_remove
.
Model-fits are filtered according to the threshold_
arguments.
If best_only
is set to TRUE, model-fits are filtered such that the best model-fit
(among the remaining models from 1.) for every gene remains. E.g. if gene GFAP fits to model
linear_descending with a score of 0.9 and to immediate_descending with a score of
0.75 the model-fit GFAP-linear_descending remains in the output.
The output is arranged by the evaluation.
Data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.