summarizeStats: Calculates block jackknifed mean for statistics

View source: R/summarizeStats.R View source: R/getsummaryStats.R

summarizeStatsR Documentation

Calculates block jackknifed mean for statistics

Description

summarize statistics using a block jacknife

summarize statistics using a block jacknife

Usage

summarizeStats(
  x,
  blockSize = 1000000L,
  which = NULL,
  nCores = 1,
  stat = "diversity"
)

summarizeStats(
  x,
  blockSize = 1000000L,
  which = NULL,
  nCores = 1,
  stat = "diversity"
)

Arguments

x

A gear
Analyzed gear object

blockSize

integer default 1000000L. The block size in basepairs.

which

character,NULL default NULL. Only calculates across specified scaffolds/chromosomes. if NULL will calculate across all windows provided.

nCores

numeric Number of cores allcated for calculations.

stats

character,NULL default NULL. Only calculates for specified statistics contained in the dataframe. if NULL will calculate across all statistics provided.

Details

Authours: Chris Ward

Authours: Chris Ward

Value

A dataframe with mean, jackSE, Zscore, median, and maximum for each statistic.

A dataframe with mean, jackSE, Zscore, median, and maximum for each statistic.


CMWbio/geaR documentation built on April 22, 2023, 6:23 a.m.