jackknife_matrix: Compute correlation matrix with jack

View source: R/utilities.R

jackknife_matrixR Documentation

Compute correlation matrix with jack

Description

Compute correlation matrix with jack

Usage

jackknife_matrix(dataX, distmethod, ...)

Arguments

dataX

data.frame with transition intensities per peptide

distmethod

dist or correlation method working with matrix i.e. cor

...

further parameters to method

Value

summarizes results producced with jackknife

See Also

jackknife

Other transitioncorrlation: cor_jackknife_matrix(), cor_order(), jackknife()

Examples

dataX <- matrix(rnorm(20), ncol=4)
rownames(dataX)<- paste("R",seq_len(nrow(dataX)),sep="")
colnames(dataX)<- paste("C",seq_len(ncol(dataX)),sep="")
tmp <- jackknife(dataX, cor, use="pairwise.complete.obs", method="pearson")
res <- jackknife_matrix(dataX, cor)
res
stopifnot(dim(res) == c(4,4))
res <- jackknife_matrix(dataX, cor, method="spearman")
stopifnot(dim(res) == c(4,4))

wolski/prolfqua documentation built on Dec. 4, 2024, 11:18 p.m.