plotVmat.VmatList: A function to plot a computed VmatList

Description Usage Arguments Value Examples

View source: R/vmat.R

Description

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

Usage

1
2
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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
)

VplotR documentation built on Nov. 8, 2020, 7:50 p.m.