check_genes: Check genes

View source: R/HelperFunctions.R

check_genesR Documentation

Check genes

Description

Check if all genes in signatures are found in data matrix - otherwise add zero counts in data-matrix to complete it

Usage

check_genes(matrix, features)

Arguments

matrix

Input data matrix

features

List of genes that must be present (otherwise they are added)

Value

Same input matrix, extended to comprise any missing genes


carmonalab/UCell documentation built on Nov. 4, 2024, 5:32 p.m.