CalculateBootCI: Calculate column-wise confidence intervals from a numeric...

View source: R/misc.R

CalculateBootCIR Documentation

Calculate column-wise confidence intervals from a numeric matrix

Description

Function to calculate confidence interval from a numeric matrix on a column-wise basis. Code is adapted and basically identical to the Utilities.R script from the Bioconductor package ChIPSeeker. Main intend is to serve as helper function for the PlotProfiles() function.

Usage

CalculateBootCI(cts, Times = 500, Cores = 1, CI = 0.95)

Arguments

cts

a count matrix

Times

number of resamplings

Cores

numbers of mclapply workers

CI

the confidence interval, default is 95%

Author(s)

Alexander Toenges

Examples

cts <- sapply(seq(1,100), function(x) rnorm(100, 1))
ci <- CalculateBootCI(cts = cts, Times = 500, Cores = 8, CI = 0.95)


ATpoint/vizzy documentation built on Dec. 15, 2022, 5:01 p.m.