sccore (version 0.1.2)

extendMatrix: Extend matrix to include new columns in matrix

Description

Extend matrix to include new columns in matrix

Usage

extendMatrix(mtx, col.names)

Arguments

mtx

Matrix

col.names

Columns that should be included in matrix

Value

Matrix with new columns but rows retained

Examples

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

# }

Run the code above in your browser using DataLab