worm_membership,WormTensor-method {WormTensor}R Documentation

Generates membership tensor A membership tensor is generated from distance matrices.

Description

Generates membership tensor A membership tensor is generated from distance matrices.

Usage

## S4 method for signature 'WormTensor'
worm_membership(object, k)

Arguments

object

WormTensor object with distance matrices

k

Assumed number of clusters

Value

WormTensor object with membership tensor added

Examples


    # Pipe Operation
    worm_download("mSBD", qc = "PASS")$Ds |>
        as_worm_tensor() -> object
    # k=6
    worm_membership(object, k = 6) -> object_k6


[Package WormTensor version 0.1.1 Index]