FlattenGroups: Convert list of sample groups into a flat vector. Removes all...

View source: R/annotate_nmf.R

FlattenGroupsR Documentation

Convert list of sample groups into a flat vector. Removes all samples belonging to multiple groups

Description

Convert list of sample groups into a flat vector. Removes all samples belonging to multiple groups

Usage

FlattenGroups(groups.list)

Arguments

groups.list

List of sample groups

Value

A character vector of the group each sample belongs to. The vector names are the sample names.


yanwu2014/swne documentation built on Aug. 5, 2023, 4:42 a.m.