check_pattern: Check pattern input

View source: R/check.R

check_patternR Documentation

Check pattern input

Description

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

Returns an adjusted gene-set-vector or raises an error.

Usage

check_pattern(object, patterns = "", method_pr = "hotspot", of_sample = NA)

Arguments

object

A valid spata-object.

of_sample

This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample.

gene_sets

The gene sets of interest specified as a character vector.


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