prop.overlap.edges: This function takes a list of low dimensional embedding data...

Description Usage Arguments Value

View source: R/mlg.R

Description

This function takes a list of low dimensional embedding data as input, construct a SNN graph for each low dimensional embeddings, and then plot a heatmap of the proportion of overlapping edges between each pair of SNN graphs.

Usage

1
prop.overlap.edges(factor.list, knn.param = 20, prune.param = 1/5)

Arguments

factor.list

A list that contains several low dimensional embedding data.

knn.param

The number of neighbors used to construct k-nearest-neighbot graph.

prune.param

The prune parameter for SNN graph. There is an edge between cell i and j in the SNN graph, if the number of common neighbors between i and j exceeds the product of knn.param and knn.param.

Value

A heatmap of the proportion of overlapping edges between each pair of SNN graphs constructed from low dimension embeddings.


shanlu01/mlg documentation built on Oct. 20, 2020, 6:36 a.m.