shuffleVmat: A function to shuffle a Vmat

View source: R/vmat_utils.R

shuffleVmatR 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)

js2264/VplotR documentation built on Jan. 4, 2024, 7:49 p.m.