runDPCoA | R Documentation |
Double Principal Correspondance analysis is made available via the
ade4
package in typical fashion. Results are stored in the
reducedDims
and are available for all the expected functions.
getDPCoA(x, y, ...)
## S4 method for signature 'ANY,ANY'
getDPCoA(
x,
y,
ncomponents = 2,
ntop = NULL,
subset.row = subset_row,
subset_row = NULL,
scale = FALSE,
transposed = FALSE,
...
)
## S4 method for signature 'TreeSummarizedExperiment,missing'
getDPCoA(
x,
...,
assay.type = assay_name,
assay_name = exprs_values,
exprs_values = "counts",
tree.name = tree_name,
tree_name = "phylo"
)
calculateDPCoA(x, ...)
addDPCoA(x, ..., altexp = NULL, name = "DPCoA")
runDPCoA(x, ...)
x |
|
y |
a |
... |
Currently not used. |
ncomponents |
|
ntop |
|
subset.row |
|
subset_row |
Deprecated. Use |
scale |
|
transposed |
|
assay.type |
|
assay_name |
Deprecated. Use |
exprs_values |
Deprecated. Use |
tree.name |
|
tree_name |
Deprecated. Use |
altexp |
|
name |
|
For addDPCoA
a TreeSummarizedExperiment containing the
expression values as well as a rowTree
to calculate y
using
cophenetic.phylo
.
In addition to the reduced dimension on the features, the reduced dimension
for samples are returned as well as sample_red
attribute.
eig
, feature_weights
and sample_weights
are
returned as attributes as well.
For getDPCoA
a matrix with samples as rows and CCA dimensions as
columns
For addDPCoA
a modified x
with the results stored in
reducedDim
as the given name
plotReducedDim
reducedDims
data(esophagus)
dpcoa <- getDPCoA(esophagus)
head(dpcoa)
esophagus <- addDPCoA(esophagus)
reducedDims(esophagus)
library(scater)
plotReducedDim(esophagus, "DPCoA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.