mapNames4mat: for a matrix, i.e. 0, 1, we may want to format it as WT, MUT

Description Usage Arguments Value

View source: R/aheatmap.R

Description

for a matrix, i.e. 0, 1, we may want to format it as WT, MUT

Usage

1
mapNames4mat(mat, map, fac2string = TRUE)

Arguments

mat

a matrix to be formated

map

2-column data frame where first column is input names; 2nd column for output names

fac2string

whether to treat factor as string

Value

a formated data frame


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.