Learn R Programming

SeuratObject (version 5.0.2)

.GetMethod: Get a Method

Description

Get a Method

Usage

.GetMethod(fxn, cls)

Value

The method of fxn for class cls; if no method found, returns the default method. If no default method found; returns NULL

Arguments

fxn

Name of a function as a character

cls

The class to find a method of fxn for

Examples

Run this code
.GetMethod('t', 'Matrix')
.GetMethod('t', 'data.frame')

Run the code above in your browser using DataLab