[413088]: / man / addFeature.Rd

Download this file

30 lines (23 with data), 945 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/allgenerics.R, R/assay.R, R/objects.R
\name{addFeature}
\alias{addFeature}
\alias{addFeature,vrAssayV2-method}
\alias{addFeature,VoltRon-method}
\title{addFeature}
\usage{
addFeature(object, ...)
\S4method{addFeature}{vrAssayV2}(object, data, feature_name)
\S4method{addFeature}{VoltRon}(object, assay = NULL, data, feature_name)
}
\arguments{
\item{object}{a VoltRon or vrAssay object.}
\item{...}{arguments passed to other methods.}
\item{data}{new data matrix for new feature set}
\item{feature_name}{the name of the new feature set}
\item{assay}{assay name (exp: Assay1) or assay class (exp: Visium, Xenium), see \link{SampleMetadata}.
If NULL, the default assay will be used, see \link{vrMainAssay}. If given as "all", then provides a summary of spatial systems across all assays.}
}
\description{
add a new feature set to a vrAssay (or VoltRon) object
}