classNum: Sample number extractor for each class from a MAIT object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/classNum.R

Description

Function classNum extracts the number of samples belonging to each class of a MAIT object as a vector.

Usage

1
classNum(MAIT.object)

Arguments

MAIT.object

A MAIT-class object

Value

A numeric vector containing the number of samples for each class of the MAIT object. The order of the classes correspond to that of the output of function classes.

Author(s)

Francesc Fernandez, francesc.fernandez.albert@upc.edu

See Also

MAIT-class

Examples

1
2
3
data(MAIT_sample)
MAIT
classNum(MAIT)

MAIT documentation built on Nov. 8, 2020, 5:43 p.m.