r-py-conversion: Convert between Python and R objects

r-py-conversionR Documentation

Convert between Python and R objects

Description

Convert between Python and R objects

Usage

## S3 replacement method for class 'collections.abc.MutableMapping'
x[[name]] <- value

## S3 method for class 'collections.abc.Mapping'
x[[name]]

## S3 replacement method for class 'collections.abc.MutableMapping'
x[name] <- value

## S3 method for class 'collections.abc.Mapping'
x[name]

## S3 method for class 'collections.abc.Mapping'
names(x)

## S3 method for class 'collections.abc.Set'
py_to_r(x)

## S3 method for class 'pandas.core.indexes.base.Index'
py_to_r(x)

## S3 method for class 'collections.abc.KeysView'
py_to_r(x)

## S3 method for class 'collections.abc.Mapping'
py_to_r(x)

Arguments

x

A Python object.

name

A name

value

A value

Value

An R object, as converted from the Python object.


anndata documentation built on March 31, 2023, 10:02 p.m.