forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuildSNN.Rd
40 lines (32 loc) · 1.06 KB
/
BuildSNN.Rd
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
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/snn.R
\name{BuildSNN}
\alias{BuildSNN}
\title{SNN Graph Construction}
\usage{
BuildSNN(object, genes.use = NULL, pc.use = NULL, k.param = 10,
k.scale = 10, plot.SNN = FALSE, prune.SNN = 1/15, do.sparse = FALSE,
print.output = TRUE)
}
\arguments{
\item{object}{Seurat object}
\item{genes.use}{Gene expression data}
\item{pc.use}{Which PCs to use for construction of the SNN graph}
\item{k.param}{Defines k for the k-nearest neighbor algorithm}
\item{k.scale}{granularity option for k.param}
\item{plot.SNN}{Plot the SNN graph}
\item{prune.SNN}{Stringency of pruning for the SNN graph (0 - no pruning,
1 - prune everything)}
\item{do.sparse}{Whether to compute and return the SNN graph as a sparse
matrix or not}
\item{print.output}{Whether or not to print output to the console}
}
\value{
Returns the object with [email protected] and either
[email protected] or [email protected] filled depending on the option
set
}
\description{
Construct a Shared Nearest Neighbor (SNN) Graph for a given
dataset.
}