weighted_neighbor_voting: Compute distance weighted voting scores for each reference...

View source: R/mapping.R

weighted_neighbor_votingR Documentation

Compute distance weighted voting scores for each reference class for each cell

Description

Compute distance weighted voting scores for each reference class for each cell

Usage

weighted_neighbor_voting(knn.res, ident)

Arguments

knn.res

List of neighbors and distances, list output of FNN::get.knnx

ident

Reference identity

Value

Reference classes by cells matrix of voting scores


yanwu2014/cellMapper documentation built on Aug. 24, 2023, 2:26 a.m.