#' @export
estimate_cell_comp <- function(RGset){
cellCounts <- FlowSorted.Blood.EPIC::estimateCellCounts2(RGset, compositeCellType="Blood", referencePlatform = "IlluminaHumanMethylationEPIC")
cc.df <- as.data.frame(cellCounts) %>%
rownames_to_column("ID") %>%
rename_with( function(x) tolower(str_remove(x, "counts.")), starts_with("counts"))
return(cc.df)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.