set_valid_col: set_valid_col

View source: R/utilities.r

set_valid_colR Documentation

set_valid_col

Description

set overall validity property of treestruct/branchstruct members

Usage

set_valid_col(obj)

Arguments

obj

TreeStruct or BranchStruct object

Details

Removes 'valid' column if it already exists, so we don't include it in determining whether a treestruct is valid, and then looks for all columns with "valid" in their name. Performs a logical 'and' on those columns in a new column, 'valid'.

Value

TreeStruct or BranchStruct object


ashenkin/treestruct documentation built on June 11, 2025, 10:40 a.m.