cell.filter | R Documentation |
This function takes an object of class scSeqR and filters the raw data based on the number of UMIs, genes per cell, percentage of mitochondrial genes per cell, genes, gene expression and cell ids.
cell.filter(x = NULL, min.mito = 0, max.mito = 1, min.genes = 0, max.genes = Inf, min.umis = 0, max.umis = Inf, filter.by.cell.id = "character", keep.cell.id = "character", filter.by.gene = "character", filter.by.gene.exp.min = 1)
x |
An object of class scSeqR. |
min.mito |
Min ratio of mit genes, defult = 0. |
max.mito |
Max ratio of mit genes, defult = 1. |
min.genes |
Min number genes per cell, defult = 0. |
max.genes |
Max number genes per cell, defult = Inf. |
min.umis |
Min number UMIs per cell, defult = 0. |
max.umis |
Max number UMIs per cell, defult = Inf. |
filter.by.cell.id |
A character vector of cell ids to be filtered out. |
keep.cell.id |
A character vector of cell ids to keep. |
filter.by.gene |
A character vector of gene names to be filtered by thier expression. If more then one gene is defined it would be OR not AND. |
filter.by.gene.exp.min |
Minimum gene expression to be filtered by the genes set in filter.by.gene, defult = 1. |
An object of class scSeqR.
## Not run: cell.filter(my.obj, min.mito = 0, max.mito = 1, min.genes = 0, max.genes = Inf, min.umis = 0, max.umis = Inf) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.