validate: Perform cross-validation for the ranking.

View source: R/validate.R

validateR Documentation

Perform cross-validation for the ranking.

Description

This function reoptimizes the ranking leaving out one of the original reference genes at a time.

Usage

validate(ranking, reference_gene_ids, method_ids, progress = NULL)

Arguments

ranking

The ranking to validate.

reference_gene_ids

The reference gene IDs whose ranking should be validated.

method_ids

IDs of the methods that were used.

progress

An optional progress function that should accept a single value between 0.0 and 1.0 for progress information.

Value

A validation object with the following items:

validation

A data.table containing percentiles of the comparison genes from the original ranking as well as their validation.

mean_score

The mean score of the genes.

mean_percentile_original

The mean percentile of the genes in the original ranking.

mean_percentile_validation

The mean percentile of the genes when optimizing without themselves.

mean_error

The mean absolute error.


johrpan/geposan documentation built on Feb. 28, 2025, 3:48 a.m.