Description Usage Arguments Value Examples
View source: R/cluster_service.R
Select cells based on criteria
1 | select_cells(req, newLevelName = "ct1", filterPayload)
|
req |
request payload |
newLevelName |
array |
filterPayload |
array |
filtered cell labels, obj will store current cells
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
filterPayload <- data.frame(
type = c("gene", "cluster"),
name = c("Gad1", NA),
direction = c(">", "in"),
thres = c("1", NA),
category = c(NULL, "cell_type"),
level = c(NA, "1_oligodendrocytes")
)
newLevelName <- "label1"
this_filter <- list(
type = "cluster",
direction = "in",
category = "cell_type",
level = "1_oligodendrocytes"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.