findInputName: Find the root entity name

View source: R/findInputName.R

findInputNameR Documentation

Find the root entity name

Description

Find the root entity name

Usage

findInputName(workspaceName, rootEntity = "", nameOnly = TRUE)

Arguments

workspaceName

Name of the workspace

rootEntity

A character. Type of root entity for Terra's data model. For example, participant, participant_set, sample, etc.

nameOnly

Under the default (TRUE), only the names of a given root entity type will be returned.

Value

A character vector of input names under the given root entity.

Examples

library(AnVILBase)
if (
    gcloud_exists() && identical(avplatform_namespace(), "AnVILGCP") &&
    nzchar(avworkspace_name())
) {
.findInputName(
workspaceName = "Bioconductor-Workflow-DESeq2",
rootEntity = "participant_set")
}


shbrief/RunTerraWorkflow documentation built on Oct. 31, 2024, 1:22 p.m.