createPhenotypeClass: Create phenotype class matrix.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Create phenotype class matrix.

Usage

1

Arguments

snList

A list of sample names.

Value

Phenotype class matrix, which rows represent the names of snList, columns represent sample names. When sample belongs to class A, the entry = 1, ortherwise, entry = 0.

Examples

1
createPhenotypeClass(list(A = c('S1', 'S2'), B = c('S3', 'S4'))) 

lihuamei/Biotools documentation built on July 15, 2020, 1:50 a.m.