Learn R Programming

gsdensity (version 0.1.2)

compute.cell.label.df: similar to compute.cell.label; used when working with multiple gene sets

Description

similar to compute.cell.label; used when working with multiple gene sets

Usage

# S3 method for cell.label.df
compute(cell_df)

Value

cell labels of 'negative' or 'positive' for given pathways

Arguments

cell_df

output of 'run.rwr.list'

Examples

Run this code
# \donttest{
cells <- colnames(pbmc.mtx)
el <- gsdensity::compute.nn.edges(coembed = ce, nn.use = 300)
cv <- gsdensity::run.rwr.list(el = el, gene_set = gene.set.list[1:30], cells = cells)
cl <- compute.cell.label.df(cv)
# }

Run the code above in your browser using DataLab