pull_clusters: Extract information of the features in clusters

pull_clustersR Documentation

Extract information of the features in clusters

Description

For each cluster, the LC-MS data of the feature with largest median peak area is retained, all the features inside every cluster are recorded

Usage

pull_clusters(data, features, name_col)

Arguments

data

data frame of the original LC-MS data

features

data frame holding the feature information

name_col

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

Value

a list of two items:

  • cdata: a new data frame with the combined LC-MS data

  • cfeatures: data frame, feature information per cluster


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