check_territory_trial: check if territory selection is a valid option

View source: R/sanity_checks.R

check_territory_trialR Documentation

check if territory selection is a valid option

Description

check if territory selection is a valid option

Usage

check_territory_trial(vesalius_assay, trial, return_label = FALSE)

Arguments

vesalius_assay

a vesalius_assay object

trial

string - trial selection parse by user

return_label

string - only return the colmun name

Details

check if the trial selection exists in territory slot Default is last that will take the last entry. This function will also reformat to only include the necessay information.

Value

data frame contain selected trial


patrickCNMartin/Vesalius documentation built on April 17, 2025, 11:31 p.m.