subsetCeldaList: Subset celda_list object from celdaGridSearch

Description Usage Arguments Value See Also Examples

View source: R/celdaGridSearch.R

Description

Select a subset of models from a 'celda_list' object generated by 'celdaGridSearch()' that match the criteria in the argument 'params'.

Usage

1
subsetCeldaList(celda.list, params)

Arguments

celda.list

celda.list Object of class 'celda_list'. An object containing celda models returned from 'celdaGridSearch'.

params

List. List of parameters used to subset celda.list.

Value

A new 'celda_list' object containing all models matching the provided criteria in 'params'. If only one item in the 'celda_list' matches the given criteria, the matching model will be returned directly instead of a 'celda_list' object.

See Also

'celdaGridSearch()' can run Celda with multiple parameters and chains in parallel. 'selectBestModel()' can get the best model for each combination of parameters.

Examples

1
res.K5.L10 = subsetCeldaList(celda.CG.grid.search.res, params=list(K=5, L=10))

compbiomed/celda documentation built on May 25, 2019, 3:58 a.m.