SubsetColumn: Return a subset of columns for a matrix or data frame

Description Usage Arguments Value

Description

Return a subset of columns for a matrix or data frame

Usage

1
SubsetColumn(data, code, invert = FALSE)

Arguments

data

Matrix or data frame with column names

code

Pattern for matching within column names

invert

Invert the search?

Value

Returns a subset of data. If invert = TRUE, returns data where colnames do not contain code, otherwise returns data where colnames contain code


mayer-lab/SeuratForMayer2018 documentation built on May 25, 2019, 9:34 p.m.