a b/man/as.VoltRon.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/allgenerics.R, R/conversion.R
3
\name{as.VoltRon}
4
\alias{as.VoltRon}
5
\alias{as.VoltRon.Seurat}
6
\alias{as.VoltRon.SpatialExperiment}
7
\title{as.VoltRon}
8
\usage{
9
as.VoltRon(object, ...)
10
11
\method{as.VoltRon}{Seurat}(
12
  object,
13
  type = c("image", "spatial"),
14
  assay_name = NULL,
15
  verbose = TRUE,
16
  ...
17
)
18
19
\method{as.VoltRon}{SpatialExperiment}(
20
  object,
21
  assay_type = "cell",
22
  assay_name = NULL,
23
  image_id = NULL,
24
  verbose = TRUE,
25
  ...
26
)
27
}
28
\arguments{
29
\item{object}{a Seurat or SpatialExperiment object}
30
31
\item{...}{Additional parameter passed to \link{formVoltRon}}
32
33
\item{type}{the spatial data type of Seurat object: "image" or "spatial"}
34
35
\item{assay_name}{the assay name of the voltron assays (e.g. Visium, Xenium etc.)}
36
37
\item{verbose}{verbose}
38
39
\item{assay_type}{one of two types, 'cell' or 'spot' etc.}
40
41
\item{image_id}{select image_id names if needed.}
42
}
43
\description{
44
Generic methods for conversion into a VoltRon object
45
}