plot_cellheatmap | R Documentation |
Plot function of algorithm for cellwise outlier diagnostics using robust pairwise log-ratios.
plot_cellheatmap(data, type = "biweight", g1, g2, mainGroup = "max",
plotly = FALSE, grid=FALSE,title=NULL)
data |
dataset, either 'matrix' or 'data.frame' |
type |
type of weighting function, possible values are |
g1 |
vector with positions of samples from group 1 |
g2 |
vector with positions of samples from group 2 |
mainGroup |
integer or character: group which is chosen as based. Possible values are: |
plotly |
logical, should interactive plotly be used. |
grid |
logical, should grid be added to the plot. |
title |
title of plot |
matrix with cellwise outlier information, in range <-1,1>.
Jan Walach <walach.jan@gmail.com>
'Cellwise outlier detection and biomarker identification in metabolomics based on pairwise log-ratios', Walach J., Filzmoser P., Kouril S., submitted
set.seed(741)
data <- gendata1_c()$X
colnames(data) <- LETTERS[1:9]
plot_cellheatmap(data, type = "biweight", g1 = 1:20 , g2 = 21:40, mainGroup = "max",grid = TRUE,plotly = TRUE,title = 'Simulated example')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.