calculateLW: Function to calculate the neighbors list with spatial weights...

Description Usage Arguments

View source: R/graph_test.R

Description

This function first retrieves the association from each cell to any principal points, then builds a kNN graph for all cells and removes edges that connected between groups that disconnected in the corresponding principal graph and finally uses this kNN graph to calculate a global Moran's I and get the p-value

Usage

1
calculateLW(cds, k, neighbor_graph, reduction_method, verbose = FALSE)

Arguments

cds

The cell_data_set object where the neighbors list is calculated from

k

The maximum number of nearest neighbors to compute

verbose

A logic flag that determines whether or not to print execution details


cole-trapnell-lab/monocle3 documentation built on April 8, 2021, 5:54 a.m.