fill.contamination | R Documentation |
calculate the signature score of one potential contaminated cell types (simple average-threshold method)
fill.contamination(
obj,
out.prefix,
assay.name = "norm_exprs",
g.name = "plasmaB",
g.test = c("CD79A", "JCHAIN", "SDC1"),
score.t = 0.75,
vis.v = c(0.25, 0.5, 0.75, 1)
)
obj |
object of |
out.prefix |
character; output prefix. (default: NULL) |
assay.name |
character vector; which assay to use. (default: "norm_exprs"). |
g.name |
character; signature name of the cell type. (default: "plasmaB"). |
g.test |
character vector; signature genes of the cell type. (default: c("CD79A", "JCHAIN", "SDC1")). |
score.t |
double; threshold for signature score (mean of g.test). (default: 1) |
vis.v |
double vector; for vertical lines in visulization. (default: c(0.25,0.5,1)). |
Two columns will be added to the obj, "
an object of SingleCellExperiment
or Seurat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.