sccore (version 1.0.5)

extendMatrix: Extend matrix to include new columns in matrix

Description

Extend matrix to include new columns in matrix

Usage

extendMatrix(mtx, col.names)

Value

Matrix with new columns but rows retained

Arguments

mtx

Matrix

col.names

Columns that should be included in matrix

Examples

Run this code
library(dplyr)
gene.union <- lapply(conosClusterList, colnames) %>% Reduce(union, .)
extendMatrix(conosClusterList[[1]], col.names=gene.union)

Run the code above in your browser using DataLab