as.class.vector: Create a class vector

Description Usage Arguments Value Author(s) Examples

View source: R/metaseqr.util.R

Description

Creates a class vector from a sample list. Internal to the stat.* functions. Mostly internal use.

Usage

1
    as.class.vector(sample.list)

Arguments

sample.list

the list containing condition names and the samples under each condition.

Value

A vector of condition names.

Author(s)

Panagiotis Moulos

Examples

1
2
sample.list <- list(A=c("A1","A2"),B=c("B1","B2","B3"))
clv <- as.class.vector(sample.list)

pmoulos/metaseqr documentation built on Dec. 29, 2020, 5:56 a.m.