plotVmat.VmatList: A function to plot a computed VmatList

View source: R/vmat.R

plotVmat.VmatListR Documentation

A function to plot a computed VmatList

Description

The plotVmat.VmatList() method forwards the Vmat to plotVmat.default().

Usage

## S3 method for class 'VmatList'
plotVmat(x, nrow = NULL, ncol = NULL, dir = "v", ...)

Arguments

x

A VmatList (output of plotVmat.list())

nrow

Integer, how many rows in facet?

ncol

Integer, how many cols in facet?

dir

str, direction of facets?

...

additional parameters

Value

A Vmat ggplot

Examples

data(bam_test)
data(ce11_proms)
list_params <- list(
    'germline' = list(
        bam_test,
        ce11_proms[ce11_proms$which.tissues == 'Germline']
    ),
    'muscle' = list(
        bam_test,
        ce11_proms[ce11_proms$which.tissues == 'Muscle']
    )
)
V <- plotVmat(
    list_params,
    normFun = 'libdepth+nloci', 
    roll = 5
)

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