--- a +++ b/man/vrNeighbourhoodEnrichment.Rd @@ -0,0 +1,35 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/spatial.R +\name{vrNeighbourhoodEnrichment} +\alias{vrNeighbourhoodEnrichment} +\title{vrNeighbourhoodEnrichment} +\usage{ +vrNeighbourhoodEnrichment( + object, + assay = NULL, + group.by = NULL, + graph.type = "delaunay", + num.sim = 1000, + seed = 1, + verbose = TRUE +) +} +\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{group.by}{a column from metadata to seperate spatial points} + +\item{graph.type}{the type of graph to determine spatial neighborhood} + +\item{num.sim}{the number of simulations} + +\item{seed}{seed} + +\item{verbose}{verbose} +} +\description{ +Conduct Neighborhood enrichment test for pairs of clusters for all assays +}