getFactoredEdgesPAR: Parallelized version of getFactoredEdges

View source: R/getFactoredEdgesPAR.R

getFactoredEdgesPARR Documentation

Parallelized version of getFactoredEdges

Description

Parallelized version of getFactoredEdges

Usage

getFactoredEdgesPAR(cl = NULL, ncores = NULL, tree = NULL,
  V = NULL, PF = NULL)

Arguments

cl

optional input phyloFcluster

ncores

optional integer input ncores- must input wither cl or ncores.

tree

phylo object

V

partition matrix whose columns contain +/- 1 indicating group membership

PF

phylofactor class object.

Examples

data("FTmicrobiome")
V <- FTmicrobiome$PF$basis
tree <- FTmicrobiome$PF$tree

cl <- phyloFcluster(2)

getFactoredEdgesPAR(cl,tree=tree,V=V[,1:10])

reptalex/phylofactor documentation built on Feb. 28, 2024, 3:19 p.m.