feats_to_knn_matrix: Calculate knn-matrix based on feature matrix

Description Usage Arguments Value

View source: R/normalize-em-cross.R

Description

Calculate knn-matrix based on feature matrix

Usage

1

Arguments

k

k parameter for knn

feat

feature matrix (e.g. output of define_immune_cafs_signature)

Value

knn-matrix: number of samples X number of features with 1 for being knn in the dimesion and 0 otherwise.


tanaylab/methylayer documentation built on Dec. 23, 2021, 7:45 a.m.