Description Usage Arguments Details Value Author(s)
Canonical correlation plot
1 | ruv_cancorplot(Y, X, ctl, W1 = NULL, W2 = NULL)
|
Y |
The data matrix. Rows are observations and columns are features (e.g. genes). |
X |
Factor(s) of interest. Can be a vector, factor, matrix, or dataframe. Must have the same length (or number of rows) as the number of row of Y. |
ctl |
Index of negative controls. |
W1 |
Optional. The left singular vectors of |
W2 |
Optional. The left singular vectors of |
Plots, as a function of k, the square of of the first canonical correlation of X
and the first k left singular vectors of Y
(and also, similarly, Y[,ctl]
).
A ggplot.
Johann Gagnon-Bartsch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.