View source: R/matrixplot_compartment.R
compartment_matrixplot | R Documentation |
Display a Hi-C matrix with compartment scores annotated in the margins.
compartment_matrixplot(
exp1,
exp2 = NULL,
CS_discovery = NULL,
chrom,
arm = "p",
colour_lim = NULL,
rasterise = FALSE,
metric = c("contacts", "obsexp", "log2obsexp", "correlation"),
colour_bar = FALSE,
...
)
exp1 |
A GENOVA |
exp2 |
A GENOVA |
CS_discovery |
A |
chrom |
A |
arm |
Either |
colour_lim |
A |
rasterise |
Set to |
metric |
One of the follow:
|
colour_bar |
A |
... |
Arguments passed to the |
The 'on-the-fly' calculation of the compartment score uses the
default settings. Therefore, if for example a different eigenvector is to
be retrieved, please use the compartment_score
function and provide
the result as the CS_discovery
argument in this function.
No values are returned but a plot is outputted on the graphics device.
100kb-150kb.
The compartment_score
function for computation
of compartment scores.
Other matrix plots:
hic_matrixplot()
,
insulation_matrixplot()
,
pyramid()
,
trans_matrixplot()
## Not run:
compartment_matrixplot(
WT_150kb, KO_150kb,
chrom = "chr18", arm = "q",
metric = "correlation"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.