assign_cluster_id: Assign Cluster ID to features

View source: R/feature_clustering.R

assign_cluster_idR Documentation

Assign Cluster ID to features

Description

Assigns a cluster ID to all features that are part of a cluster with 2 or more features.

Usage

assign_cluster_id(data, clusters, features, name_col)

Arguments

data

data frame of the original LC-MS data

clusters

a list of clusters as returned by find_clusters

features

data frame with feature information, fData(object)

name_col

character, name of the column in features that contains feature names

Value

a data frame similar to features, with cluster ID added


antonvsdata/notame documentation built on Sept. 14, 2024, 11:09 p.m.