check_genes: Check gene input

View source: R/check.R

check_genesR Documentation

Check gene input

Description

A member of the adjusting-check_*()-family. Takes a character vector of gene names and checks which of the genes exist.

Returns an adjusted genes-vector or raises an error.

Usage

check_genes(
  object,
  genes,
  valid_genes = NULL,
  rna_assay = NULL,
  max_length = NULL,
  fdb_fn = "warning",
  ...
)

Arguments

genes

The genes of interest specified as a character vector.

rna_assay

The rna-assay you want to look in. If set to NULL the whole rna_assay of the specified object will be used with getExpressionMatrix().


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.