rmTrees: Tree removal simulator.

Description Usage Arguments Details Examples

View source: R/rmTrees.R

Description

Removes trees from a matrix under three scenarios.

Usage

1
2
3
4
5
6
7
rmTrees(
  x = "network",
  nits = 100,
  method = c("random", "degree", "type"),
  type = "grouping",
  return.nits = FALSE
)

Arguments

x

A network in matrix representation.

nits

Number of iterations to be used.

method

Method to be used: 'random','degree','type'.

type

Type of removel.

return.nits

LOGICAL: should all iterations be returned.

Details

Removes trees from a simulation to simulate selection. Three options for removal: random, degree and (geno- or pheno-)type

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

ECGen/ComGenR documentation built on July 23, 2021, 11:44 p.m.