Description Usage Arguments Value Examples
Sample, Train, and Predict logistic regression model using singleCellExperiment and glmnet
1 | aucPlot(casc_list)
|
casc_list |
A casc_list object produced by casc |
A ggplot scatterplot with AUCs plotted for each cluster
1 2 3 4 5 6 7 8 9 10 11 12 | library(SingleCellExperiment)
counts <- matrix(rnorm(40000, 10, 10), ncol=200, nrow=200)
sce <- SingleCellExperiment(assays = list(logcounts = counts))
colnames(sce) <- stringi::stri_rand_strings(200, 5)
rownames(sce) <- stringi::stri_rand_strings(200, 5)
cluster_1 <- rep(c(0, 1, 1, 1, 1, 0, 1, 1, 1, 1), 20)
cluster_2 <- rep(c(0, 1, 1, 0, 1, 0, 1, 1, 0, 1), 20)
casc_list <- casc(sce, list(cluster_1, cluster_2), marker_num=1500)
aucPlot(casc_list)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.