mdiag: Sum diagonal elements of a matrix

Description Usage Arguments Details Value Author(s) References Examples

View source: R/mdiag.R

Description

Sum diagonal elements of a matrix

Usage

1
mdiag(x, p)

Arguments

x

P by p matrix

p

Number of features

Details

Sum diagonal elements of a matrix

Value

Sum diagonal elements of a matrix

Author(s)

Nyamundanda, G., Poudel, P., Patil, Y. and Sadanandam, A.

References

Nyamundanda, G., Poudel, P., Patil, Y. and Sadanandam, A., 2017. A novel and robust statistical method to diagnose and correct batch effects in genomic data.

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

syspremed/exploBATCH documentation built on May 23, 2019, 9:34 a.m.