format_used_functions: Use the '{downlit}' package to generate a Markdown list of...

View source: R/html.R

format_used_functionsR Documentation

Use the {downlit} package to generate a Markdown list of autolinked functions wrapped inside ⁠<details>⁠ tags.

Description

Use the {downlit} package to generate a Markdown list of autolinked functions wrapped inside ⁠<details>⁠ tags.

Usage

format_used_functions(functions, do_cat = FALSE)

Arguments

functions

A character scalar: functions to be autolinked, e.g. scran::clusterCells().

do_cat

A logical scalar: if TRUE, cat the result to stdout.

Value

A character scalar. Invisibly if do_cat is TRUE.

Examples

format_used_functions(c("scran::clusterCells()", "Seurat::DimPlot()"), do_cat = TRUE)


bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.