Learn R Programming

metaseqR (version 1.12.2)

as.class.vector: Create a class vector

Description

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

Usage

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.

Examples

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

Run the code above in your browser using DataLab