plotVmat.VmatList {VplotR} | R 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
    )

[Package VplotR version 1.4.0 Index]