shuffleVmat {VplotR} | R Documentation

## A function to shuffle a Vmat

### Description

This function works on a Vmat (the output of computeVmat()). It shuffles the matrix to randomize the fragment densities.

### Usage

    shuffleVmat(Vmat)

### Arguments

`Vmat` | A Vmat, usually output of computeVmat

### Value

A shuffled Vmat object

### Examples

    data(bam_test)
    data(ce11_all_REs)
    Vmat <- computeVmat(bam_test, ce11_all_REs)
    Vmat <- shuffleVmat(Vmat)

[Package VplotR version 1.4.0 Index]