assign_cluster_id: Assign Cluster ID to features

Description Usage Arguments Value

View source: R/feature_clustering.R

Description

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

Usage

1
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/amp documentation built on Jan. 8, 2020, 3:15 a.m.