View source: R/hypothesisTest.R
hc_logFC_DensityPlot | R Documentation |
This function show the density plots of Fold Change (the same as calculated by limma) for a list of the comparisons of conditions in a differential analysis.
hc_logFC_DensityPlot(df_logFC, threshold_LogFC = 0, pal = NULL)
df_logFC |
A dataframe that contains the logFC values |
threshold_LogFC |
The threshold on log(Fold Change) to distinguish between differential and non-differential data |
pal |
xxx |
A highcharts density plot
Samuel Wieczorek
data(Exp1_R25_prot, package="DAPARdata")
obj <- Exp1_R25_prot[seq_len(100)]
level <- 'protein'
metacell.mask <- match.metacell(GetMetacell(obj), c("Missing POV", "Missing MEC"), level)
indices <- GetIndices_WholeMatrix(metacell.mask, op = ">=", th = 1)
obj <- MetaCellFiltering(obj, indices, cmd = "delete")
qData <- Biobase::exprs(obj$new)
sTab <- Biobase::pData(obj$new)
res <- limmaCompleteTest(qData, sTab, comp.type = "OnevsAll")
pal <- ExtendPalette(2, "Dark2")
hc_logFC_DensityPlot(res$logFC, threshold_LogFC = 1, pal = pal)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.