compute.jsd: 5. compute the specificity of gene set when cell partition...

View source: R/gsdensity_functions.R

compute.jsdR Documentation

5. compute the specificity of gene set when cell partition information is available; the information could be clustering, sample origins, or other conditions inspired by https://github.com/FloWuenne/scFunctions/blob/0d9ea609fa72210a151f7270e61bdee008e8fc88/R/calculate_rrs.R

Description

this function is called by compute.spec.single to calculate the similarity between two vectors

Usage

## S3 method for class 'jsd'
compute(x, y)

Arguments

x

x

y

y

Value

returns jsd_distance


gsdensity documentation built on March 31, 2023, 8:32 p.m.