Learn R Programming

gsdensity (version 0.1.2)

compute.nn.edges: 3. compute nearest neighbor graph for genes and cells This graph will be used for fetching the most relevant cells of a gene set

Description

3. compute nearest neighbor graph for genes and cells This graph will be used for fetching the most relevant cells of a gene set

Usage

# S3 method for nn.edges
compute(coembed, nn.use = 300)

Value

nearest neighbor graph (edges)

Arguments

coembed

the result from compute.mca

nn.use

the number of nearest neighbors for building the graph; default 300

Examples

Run this code
# \donttest{
compute.nn.edges(coembed = ce)
# }

Run the code above in your browser using DataLab