|
a |
|
b/man/vrSegments.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/allgenerics.R, R/objects.R, R/assay.R, |
|
|
3 |
% R/image.R |
|
|
4 |
\name{vrSegments} |
|
|
5 |
\alias{vrSegments} |
|
|
6 |
\alias{vrSegments,VoltRon-method} |
|
|
7 |
\alias{vrSegments,vrAssay-method} |
|
|
8 |
\alias{vrSegments,vrAssayV2-method} |
|
|
9 |
\alias{vrSegments,vrImage-method} |
|
|
10 |
\alias{vrSegments,vrSpatial-method} |
|
|
11 |
\alias{vrSegments<-,VoltRon-method} |
|
|
12 |
\alias{vrSegments<-,vrAssay-method} |
|
|
13 |
\alias{vrSegments<-,vrAssayV2-method} |
|
|
14 |
\alias{vrSegments<-,vrImage-method} |
|
|
15 |
\alias{vrSegments<-,vrSpatial-method} |
|
|
16 |
\alias{vrSegments<-} |
|
|
17 |
\title{vrSegments} |
|
|
18 |
\usage{ |
|
|
19 |
vrSegments(object, ...) |
|
|
20 |
|
|
|
21 |
\S4method{vrSegments}{VoltRon}( |
|
|
22 |
object, |
|
|
23 |
assay = NULL, |
|
|
24 |
image_name = NULL, |
|
|
25 |
spatial_name = NULL, |
|
|
26 |
reg = FALSE, |
|
|
27 |
as.data.frame = FALSE |
|
|
28 |
) |
|
|
29 |
|
|
|
30 |
\S4method{vrSegments}{vrAssay}(object, image_name = NULL, spatial_name = NULL, reg = FALSE) |
|
|
31 |
|
|
|
32 |
\S4method{vrSegments}{vrAssayV2}(object, image_name = NULL, spatial_name = NULL, reg = FALSE) |
|
|
33 |
|
|
|
34 |
\S4method{vrSegments}{vrImage}(object) |
|
|
35 |
|
|
|
36 |
\S4method{vrSegments}{vrSpatial}(object) |
|
|
37 |
|
|
|
38 |
\S4method{vrSegments}{VoltRon}(object, image_name = NULL, spatial_name = NULL, reg = FALSE) <- value |
|
|
39 |
|
|
|
40 |
\S4method{vrSegments}{vrAssay}(object, image_name = NULL, spatial_name = NULL, reg = FALSE) <- value |
|
|
41 |
|
|
|
42 |
\S4method{vrSegments}{vrAssayV2}(object, image_name = NULL, spatial_name = NULL, reg = FALSE) <- value |
|
|
43 |
|
|
|
44 |
\S4method{vrSegments}{vrImage}(object) <- value |
|
|
45 |
|
|
|
46 |
\S4method{vrSegments}{vrSpatial}(object) <- value |
|
|
47 |
|
|
|
48 |
vrSegments(object, ...) <- value |
|
|
49 |
} |
|
|
50 |
\arguments{ |
|
|
51 |
\item{object}{a VoltRon, vrAssay or vrSpatial object.} |
|
|
52 |
|
|
|
53 |
\item{...}{arguments passed to other methods.} |
|
|
54 |
|
|
|
55 |
\item{assay}{assay name (exp: Assay1) or assay class (exp: Visium, Xenium), see \link{SampleMetadata}. |
|
|
56 |
if NULL, the default assay will be used, see \link{vrMainAssay}.} |
|
|
57 |
|
|
|
58 |
\item{image_name}{(deprecated, use \code{spatial_name}) the name/key of the image associated with the coordinates} |
|
|
59 |
|
|
|
60 |
\item{spatial_name}{the name/key of the spatial system associated with the coordinates} |
|
|
61 |
|
|
|
62 |
\item{reg}{TRUE if registered coordinates of the main image (\link{vrMainImage}) is requested} |
|
|
63 |
|
|
|
64 |
\item{as.data.frame}{if TRUE, the coordinates of segment nodes will be returned as a data frame} |
|
|
65 |
|
|
|
66 |
\item{value}{segments} |
|
|
67 |
} |
|
|
68 |
\description{ |
|
|
69 |
Given a VoltRon, vrAssay or vrSpatial object, get and set the segment coordinates of assays and coordinate systems |
|
|
70 |
} |