Learn R Programming

gsdensity (version 0.1.2)

compute.grid.coords: 2. compute density of gene sets of interest 2.1 compute grid point coordinates

Description

2. compute density of gene sets of interest 2.1 compute grid point coordinates

Usage

# S3 method for grid.coords
compute(coembed, genes.use, n.grids = 100)

Value

grid coordinates

Arguments

coembed

the result from compute.mca

genes.use

which genes to use; no default; can use genes based on the gene set selection or use rownames(object)

n.grids

number of grid points used for gene set density estimation; larger number is more accurate and slower; default is 100 (recommended to test 100 first)

Examples

Run this code
# \donttest{
compute.grid.coords(coembed = ce, genes.use = intersect(rownames(ce), rownames(pbmc.mtx)))
# }

Run the code above in your browser using DataLab