Description Usage Arguments Value Examples
The plotVmat.GRanges() method computes and normalizes multiple Vmats before passing them to plotVmat.VmatList() method.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
x |
list Each element of the list should be a list containing paired-end fragments and GRanges of interest. |
cores |
Integer, number of cores to parallelize the plots |
cores_subsetting |
Integer, number of threads to parallelize fragments subsetting |
nrow |
Integer, how many rows in facet? |
ncol |
Integer, how many cols in facet? |
xlims |
x limits of the computed Vmat |
ylims |
y limits of the computed Vmat |
normFun |
character. A Vmat should be scaled either by:
|
s |
A float indicating which quantile to use if 'quantile' normalization is chosen |
roll |
integer, to use as the window to smooth the Vmat rows by rolling mean. |
return_Vmat |
Boolean, should the function return the computed Vmat rather than the plot? |
verbose |
Boolean |
... |
additional parameters |
A list of Vmat ggplots
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
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.