ADAM2.randomisedepMat: Binary matrix randomisation preserving column totals

Description Usage Arguments Value Author(s) Examples

View source: R/ADAM.R

Description

This function takes in input a matrix and shuffles its entries column wisely. If the matrix is binary then then matrix resulting from this shuffling will have the same column marginal totals of the inpputted one.

Usage

1

Arguments

depMat

A numerical matrix.

Value

The matrix given in input with entries shuffled column wisely.

Author(s)

C. Pacini, E. Karakoc & F. Iorio

Examples

1
2

DepMap-Analytics/ADAM2 documentation built on Dec. 1, 2019, 12:27 a.m.