as.class.vector {metaseqR} | R Documentation

## 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.

### Author(s)

Panagiotis Moulos

### Examples

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

[Package metaseqR version 1.28.0 Index]