View source: R/multivariate_pc_regression.R
multivariate_pc_regression | R Documentation |
Multivariate regression for meta variables and principal components
multivariate_pc_regression(
object,
pheno.df,
metavars,
num.pc = 10,
plot = TRUE,
name = "assoc_with_pc_pvals",
width = 8,
height = 7,
xrot = 0,
yrot = 0
)
object |
Matrix-like object with features (e.g. genes) as rows and samples as columns. |
pheno.df |
Data frame with rows as samples and columns as phenotypes. |
metavars |
A vector of column names in pheno.df. |
num.pc |
Number of principal components |
plot |
Logical for plotting the p-values. |
name |
Name of the plot file. |
width |
Width of the plot. |
height |
Height of the plot. |
xrot |
rot angle (in degrees) by which the x- axis labels are to be rotated |
yrot |
rot angle (in degrees) by which the y- axis labels are to be rotated |
Matrix of p-values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.