This function checks that the modeling_results object has the appropriate structure. For more details please check the vignette documentation.

check_modeling_results(modeling_results)

Arguments

modeling_results

Defaults to the output of fetch_data(type = 'modeling_results'). This is a list of tables with the columns f_stat_* or t_stat_* as well as p_value_* and fdr_* plus ensembl. The column name is used to extract the statistic results, the p-values, and the FDR adjusted p-values. Then the ensembl column is used for matching in some cases. See fetch_data() for more details.

Value

The input object if all checks are passed.

See also

Other Check input functions: check_sce(), check_sce_layer(), check_spe()

Examples


if (!exists("modeling_results")) {
    modeling_results <- fetch_data(type = "modeling_results")
}
#> 2024-04-19 19:41:56.726761 loading file /github/home/.cache/R/BiocFileCache/2263e7e4ce8_Human_DLPFC_Visium_modeling_results.Rdata%3Fdl%3D1

## Check the object
xx <- check_modeling_results(modeling_results)