detect_groups: Detect groups by sample names

View source: R/utils_analysis_random.R

detect_groupsR Documentation

Detect groups by sample names

Description

Detects groups from column names in sample info file so that they can be used for things such as coloring plots or building the model for DEG analysis.

Usage

detect_groups(sample_names, sample_info = NULL)

Arguments

sample_names

Vector of column headings from data file or design file

sample_info

Matrix of the experiment design information

Value

A character vector with the groups

Note

This function is mainly called internally in other idepGolem functions.


espors/idepGolem documentation built on April 23, 2024, 1:11 p.m.