require(singleCellTK) require(ggplot2)
sce.qc <- params$object
plotSoupX <- plotSoupXResults(sce.qc, combinePlot = "none") i <- "SoupX" cat(paste0('# ', i, ' {.tabset} \n\n')) cat(paste0('## Scatter Cluster\n\n')) plot(plotSoupX$scatter_soupXClusters) cat("\n\n") for (marker in names(plotSoupX)[-1]) { cat(paste0('## Soup Fraction: ', marker, ' \n\n')) plot(plotSoupX[[marker]]) cat("\n\n") } cat(paste0('## Session info \n\n')) soupXMeta <- getSoupX(sce.qc)[[1]]$param soupXMeta$sample <- NULL soupXMeta$bgBatch <- NULL soupXMeta$sessionInfo <- NULL soupXMeta cat("\n\n")
description_SoupX <- descriptionSoupX()
r description_SoupX
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.