|
a |
|
b/man/vrGraph.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/objects.R |
|
|
3 |
\name{vrGraph} |
|
|
4 |
\alias{vrGraph} |
|
|
5 |
\alias{vrGraph<-} |
|
|
6 |
\title{vrGraph} |
|
|
7 |
\usage{ |
|
|
8 |
vrGraph(object, assay = NULL, graph.type = NULL) |
|
|
9 |
|
|
|
10 |
vrGraph(object, assay = NULL, graph.type = "kNN") <- value |
|
|
11 |
} |
|
|
12 |
\arguments{ |
|
|
13 |
\item{object}{a VoltRon object} |
|
|
14 |
|
|
|
15 |
\item{assay}{assay name (exp: Assay1) or assay class (exp: Visium, Xenium), see \link{SampleMetadata}. |
|
|
16 |
if NULL, the default assay will be used, see \link{vrMainAssay}.} |
|
|
17 |
|
|
|
18 |
\item{graph.type}{the type of the graph, either custom or given by \link{getProfileNeighbors} or \link{getSpatialNeighbors} functions} |
|
|
19 |
|
|
|
20 |
\item{value}{new graph} |
|
|
21 |
} |
|
|
22 |
\description{ |
|
|
23 |
Get graph of a VoltRon object |
|
|
24 |
} |