cleanGroups: Clean Metadata Factors

View source: R/utils.R

cleanGroupsR Documentation

Clean Metadata Factors

Description

Clean Metadata Factors

Usage

cleanGroups(melted_data, factor_name, verbose = T)

Arguments

melted_data

Dataframe with metadata and abundance data.

factor_name

Factor to refactor in metadata.

verbose

If TRUE (default), print out the count of samples in each group of the factor and warn the user if fewer than 3 samples are in a group.

Value

A nested list containing the sample count for each group in the factor.


microresearcher/MicroVis documentation built on Feb. 8, 2024, 10:59 a.m.