sequenceRF: Sequence Random Forest

Description Usage Arguments Value Author(s)

View source: R/sequenceRF.R

Description

Conduct Random Forest on stratified data.frame of sequences.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
sequenceRF(
  x,
  replace = FALSE,
  sampsize = NULL,
  train.pct = 0.5,
  min.n = 2,
  nrep = 0,
  conf.level = 0.95,
  ...
)

Arguments

x

data.frame of stratified and aligned sequences from gtypes2rfDF.

replace

sample with replacement? passed to randomForest.

sampsize

number of samples to take from each strata. passed to randomForest. If NULL, value is set to the minumum sample size * train.pct.

train.pct

proportion of strata to use for training if sampsize is NULL.

min.n

minimum sample size to use. If sample size for any strata is less this, this value will be used instead.

nrep

number of rfPermute replicates.

conf.level

confidence level for the binom.test confidence interval

...

arguments passed to randomForest.

Value

a list containing a data.frame of summary statistics (smry), and the rfPermute object (rp).

Author(s)

Eric Archer eric.archer@noaa.gov


EricArcher/geneticRF documentation built on Nov. 15, 2021, 7:22 p.m.