bumphuntingEngine: bumphuntingEngine

Description Usage Arguments Details Value Examples

Description

bump hunting algorithm for 450k methylation microarray

Usage

1
2
3
4
5
6
7
8
bumphuntingEngine(dat.m = NULL, design, sv.m = NULL, chr, pos,
  cluster = NULL, coef = 2, names, cutoff = NULL, qvalue = 0.1,
  maxGap = 500, minDist = 500, robust = FALSE, smooth = FALSE,
  smoothMethod = c("weightedLowess", "loess", "locfit"),
  nullMethod = c("permutation", "bootstrap"), B = 10000, corr = FALSE,
  corFunc = c("spearman", "pearson", "kendall"), combp = FALSE,
  merge = c("single", "complete", "average"), corr.cutoff = 0.8,
  combine = c("stouffer_liptak", "zscore"), verbose = TRUE, ...)

Arguments

dat.m

450k methylation microarray matrix via preprocessing; m x n matrix

design

design matrix; [1, covariate of interested, paired info]

sv.m

surrogate variables matrix

chr

chromosome vector for probes

pos

position vector for probes

cluster

The clusters of locations that are to be analyzed together. via correlation perspevtive, we can use agglomerate cluster index to bump analysis. If cluster is not available, clusterMaker can be used to cluster nearby locations

coef

Integer. covariate of interest's column

names

probe names vector ; used in function clusterMaker and regionSeeker

cutoff

numeric value. Value of estimates coefficient of covariate of interested above cutoff or below the negative of cutoff will be used as candidate bump regions.

qvalue

numeric value. cutoff of pvalue for candidate regions selection || qvalue cutoff for combination pvalue method

maxGap

if cluster is not availabel. maxGap is used by clusterMaker to define cluster

minDist

if clusters are build, the mininal distance between clusters is setted as constraint

robust

logic, use robust linear regression or not; Default FALSE

smooth

logic. If TRUE then the standard error or correlation of point-wise estimatrs will be used as weigths in the smoother

smoothMethod

local regression method used in smoother

nullMethod

Method for generating null candidate regions. If ncol(design) > 2. bootstrap method is recommanded

B

integer; Denoting the number of resamples to computr null distribution. Default = 0 B is used to generate permutation matrix, which describes permutations to generate null distribution

corr

logical; If TRUE then position correlation matrix is considered as weighted matrix and clusters modified by correlation constraint; Default FALSE

corFunc

Optional; "spearman"(Default) and "pearson"

combp

logical; If TRUE then slk p correction will be applied

merge

how to merge two sub-clusters; c("single", "complete", "average")

corr.cutoff

correlation cutoff in merge algorithm

combine

combine pvalue method; c("stouffer_liptak", "zscore")

verbose

logical. Optional printing progress message or not

...

Details

bumphuntingEngine

Value

bumps object

Examples

1
# cluster input format: cg12045430 cg20826792 cg00381604 cg20253340

xinchoubiology/Rcppsva documentation built on May 4, 2019, 1:06 p.m.