get_regulon_thresholds: get_regulon_thresholds

View source: R/loom.R

get_regulon_thresholdsR Documentation

get_regulon_thresholds

Description

Get the AUC thresholds for the regulons in the given loom file

Usage

get_regulon_thresholds(loom, only.selected = TRUE)

Arguments

loom

.loom file name

onlySelected

Whether to return only the selected threshold for each regulon (as vector), or also the alternative thresholds calculated by AUCell (as list).

Examples

loomPath <-  file.path(system.file('extdata', package='SCopeLoomR'), "example.loom")
loom <- open_loom(loomPath)

thresholds <- get_regulon_thresholds(loom)
head(thresholds)

aertslab/SCopeLoomR documentation built on April 19, 2022, 11:25 a.m.