gene_pct_markerm {clustifyr} | R Documentation

## pct of cells in every cluster that express a series of genelists

### Description

pct of cells in every cluster that express a series of genelists

### Usage

    gene_pct_markerm(matrix, marker_m, metadata, cluster_col = NULL, norm = NULL)

### Arguments

`matrix` | expression matrix
`marker_m` | matrixized markers
`metadata` | data.frame or vector containing cluster assignments per cell. Order must match column order in supplied matrix. If a data.frame provide the cluster_col parameters.
`cluster_col` | column in metadata with cluster number
`norm` | whether and how the results are normalized

### Value

matrix of numeric values, clusters from mat as row names, cell types from marker_m as column names

### Examples

    gene_pct_markerm(
        matrix = pbmc_matrix_small,
        marker_m = cbmc_m,
        metadata = pbmc_meta,
        cluster_col = "classified"
    )

[Package clustifyr version 0.99.8 Index]