extendMatrix {sccore}R Documentation

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

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


[Package sccore version 1.0.5 Index]