Description Usage Arguments Value Examples
Graphical representation of the slopes presented in the output of wcomp.MiRKAT function.
Graphical representation of the slopes presented in the output of wcomp.MiRKAT function.
1 2 3 | wM.barplot(tab, col = c("red", "blue"))
wM.barplot(tab, col = c("red", "blue"))
|
tab |
the output of wcomp.MiRKAT function |
col |
two colors for the positive and negatives slopes |
tab |
the output of wcomp.MiRKAT function |
col |
two colors for the positive and negatives slopes |
a barplot representing the slopes for each variable
a barplot representing the slopes for each variable
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Matrix of samples
x <- matrix(runif(100), nrow = 10)
# Response vector
y <- rep(c(0,1),5)
# Run multiwcomp.MiRKAT function
A <- multiwcomp.MiRKAT(x,y)
# Represent the results
wM.barplot(A)
# Matrix of samples
x <- matrix(runif(100), nrow = 10)
# Response vector
y <- rep(c(0,1),5)
# Run multiwcomp.MiRKAT function
A <- multiwcomp.MiRKAT(x,y)
# Represent the results
wM.barplot(A)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.