grpSelection: Create a factor containg the group names

Description Usage Arguments Examples

View source: R/RNASeqSuite.R

Description

Creates a list containing a factor of group names as well as a data frame of group names from the selected character vector

Usage

1
grpSelection(frame, groupselect, column=1, multi=FALSE)

Arguments

frame

A data frame containing the selected samples and their respective groups

groupselect

A character vector containing the desired group names

column

Integer that selects which column of the data frame to use as the group names

multi

Boolean that if set true, will combine all entries in the data frame rowwise with "." as a separator. Intended for multifactoral analysis

Examples

1
group <- grpSelection(frame, c("group_A","group_B"))

Dudemanguy/RNASeqSuite documentation built on Dec. 5, 2019, 12:45 a.m.