Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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

sccore

Core Utilities for Single-Cell RNA-Seq

v0.1.3
GPL-3
Authors
Viktor Petukhov [aut], Ramus Rydbirk [aut], Peter Kharchenko [aut], Evan Biederstedt [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.