learn_distance: learn_distance

View source: R/functions.R

learn_distanceR Documentation

learn_distance

Description

By integrating distance information and consensus information, learn_distance generate a more integrative distance matrix.

Usage

learn_distance(c, pclusters, diss)

Arguments

c

Integer. 1:(numer of selected subspaces). Required.

pclusters

A list containing clustering results in selected subspaces with kmeans. Required.

diss

A list containing Euclidean distance matrixes of selected subspaces. Required.

Details

Distance calculation in subspaces

Value

A dataframe containing a more integrative distance matrix.

Examples

data("pcluster")
data("diss")
data("cs")
c=1:length(cs)
dis=learn_distance(c,pcluster,diss)


songjiajia2018/LINEAGE documentation built on Oct. 17, 2022, 6:17 a.m.