visualize_clusters: Visualize clusters of features

visualize_clustersR Documentation

Visualize clusters of features

Description

Draws multiple visualizations of each cluster, creating a separate file for each cluster.

Usage

visualize_clusters(
  data,
  features,
  clusters,
  min_size,
  rt_window,
  name_col,
  mz_col,
  rt_col,
  file_path
)

Arguments

data

data frame with the abundances of features, with features as columns

features

data frame with feature information, fData(object)

clusters

a list of clusters as returned by find_clusters

min_size

the minimum number of features a cluster needs to have to be plotted

rt_window

numeric, the retention time window to use in linking features. NOTE you need to use the same unit as in the retention time column

name_col

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

mz_col

character, name of the column in features that contains mass-to-charge ratios

rt_col

character, name of the column in features that contains retention times

file_path

the prefix to the files to be plotted


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