CreateMolecules: Create a 'Molecules' Object

View source: R/generics.R

CreateMoleculesR Documentation

Create a Molecules Object

Description

Create a Molecules Object

Usage

CreateMolecules(coords, ...)

## S3 method for class 'data.frame'
CreateMolecules(coords, key = "", ...)

## S3 method for class 'Molecules'
CreateMolecules(coords, ...)

## S3 method for class ''NULL''
CreateMolecules(coords, ...)

Arguments

coords

Spatial coordinates for molecules; should be a data frame with three columns:

  • x”: x-coordinates for each molecule

  • y”: y-coordinates for each molecule

  • gene”: gene name for each molecule

...

Arguments passed to other methods

key

A key to set for the molecules

Value

A Molecules object


mojaveazure/seurat-object documentation built on Nov. 22, 2024, 11:36 p.m.