[413088]: / man / vrGraph.Rd

Download this file

25 lines (20 with data), 696 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/objects.R
\name{vrGraph}
\alias{vrGraph}
\alias{vrGraph<-}
\title{vrGraph}
\usage{
vrGraph(object, assay = NULL, graph.type = NULL)
vrGraph(object, assay = NULL, graph.type = "kNN") <- value
}
\arguments{
\item{object}{a VoltRon object}
\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}.}
\item{graph.type}{the type of the graph, either custom or given by \link{getProfileNeighbors} or \link{getSpatialNeighbors} functions}
\item{value}{new graph}
}
\description{
Get graph of a VoltRon object
}