dot-update_whichTree: update the 'whichTree' column in row/column link data

Description Usage Examples

Description

update the 'whichTree' column in row/column link data

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
(ld <- LinkDataFrame(nodeLab = letters[1:5],
                     nodeLab_alias = LETTERS[1:5],
                     nodeNum = 1:5,
                     isLeaf = TRUE,
                     whichTree = LETTERS[1:5],
                     right = 1:5))
newWhich <- setNames(letters[1:5], LETTERS[1:5])
.update_whichTree(ld, y = newWhich)

## End(Not run)

fionarhuang/TreeSummarizedExperiment documentation built on June 16, 2021, 2:11 p.m.