getFromSeurat: Safe extraction

getFromSeuratR Documentation

Safe extraction

Description

A wrapper around base::tryCatch() with predefined error handling messages if extraction from seurat-object failed.

Usage

getFromSeurat(return_value, error_handling, error_value, error_ref)

Arguments

return_value

Whatever needs to be extracted.

error_handling

Either 'warning or 'stop'.

error_value

What is supposed to be returned if extraction fails.

error_ref

The reference for the feedback message.


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.