showToolsSlots: Display Slots in the @tools of an Seurat Object

View source: R/Seurat.Utils.R

showToolsSlotsR Documentation

Display Slots in the @tools of an Seurat Object

Description

showToolsSlots prints the names of slots in the ⁠@tools⁠ of a given object. It specifically targets list elements, skipping over data frames and other non-list objects.

Usage

showToolsSlots(obj, max.level = 1, subslot = NULL, ...)

Arguments

obj

An object whose ⁠@tools⁠ slot needs to be examined.

max.level

The maximum level of nesting to print.

subslot

The name of a sub-slot within the ⁠@tools⁠ slot to examine.

...

Additional arguments to be passed to str.

Details

The function iterates over the slots in the ⁠@tools⁠ of obj. If a slot is a list (and not a data frame), it prints the names of elements within this list. If the slot is not a list or is a data frame, it skips printing the names. The function currently does not use the indent parameter but it could be incorporated in future enhancements to control the formatting of the output.

Examples

showToolsSlots(obj)


vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.