Description Arguments Details Value References See Also
View source: R/differential_expression.R
SJ expression markers of identity classes
object |
ICASDataSet object |
ident.1 |
Identity class to define markers for |
ident.2 |
A second identity class for comparison. If NULL (default) - use all other cells for comparison. |
genes.use |
SJs to test. Default is to use all SJs |
delta.threshold |
Limit testing to SJs which show, on average, at least delta.threshold between the two groups of samples. Default is 0.1 Increasing delta.threshold speeds up the function, but can miss weaker signals. |
test.use |
Denotes which test to use. Available options are:
|
min.pct |
only test SJs that are detected in a minimum fraction of min.pct cells in either of the two populations. Meant to speed up the function by not testing SJs that are very infrequently expressed. Default is 0.1 |
min.diff.pct |
only test SJs that show a minimum difference in the fraction of detection between the two groups. Set to -Inf by default |
only.pos |
Only return positive markers (FALSE by default) |
print.bar |
Print a progress bar once expression testing begins (uses pbapply to do this) |
max.cells.per.ident |
Down sample each identity class to a max number. Default is no downsampling. Not activated by default (set to Inf) |
random.seed |
Random seed for downsampling |
min.cells.gene |
Minimum number of cells expressing the SJ in at least one of the two groups, currently only used for poisson and negative binomial tests |
maxit |
(Only for test.use is BB) maximum number of (usually Fisher-scoring) iterations allowed. Decreasing maxit speeds up the function, but can weaken statistical reliability. |
confounder |
(Only for test.use is BB) The confounder to regress out. |
min.cells.group |
Minimum number of cells in one of the groups |
NT |
cores for parallel (Currently only support roc test) |
... |
Additional parameters to pass to specific DE functions |
Finds markers (differentially expressed SJs) for identity classes
p-value adjustment is performed using bonferroni correction based on the total number of SJs in the dataset. Other correction methods are not recommended, as ICAS pre-filters SJs using the arguments above, reducing the number of tests performed. Lastly, as Aaron Lun has pointed out, p-values should be interpreted cautiously, as the SJs used for clustering are the same SJs tested for differential expression.
Matrix containing a ranked list of putative markers, and associated statistics (p-values, ROC score, etc.)
Seurat
MASTDETest
, and DESeq2DETest
for more information on these methods
Seurat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.