Skip to contents

Excluded user chosen regions by keywords found in long-form name

Usage

exclude_by_keyword(e, keywords, channels = NULL)

Arguments

e

experiment object

keywords

(str) vector of region/structure keywords to match and exclude from the datasets, e.g. c("nerve", "tract")

channels

(str, default = NULL) NULL option processes all channels. channels = c("cfos", "eyfp") specifies exact channels.

Value

e experiment object

Examples

if (FALSE) {
e <- exclude_by_keyword(e, keywords = "tract")
}