View source: R/differential_expression.R
RunEdgeR | R Documentation |
Run edgeR to assign a p-value to each feature for the null hypothesis that this feature is not significantly differently expressed between the cells of a given cluster between the two levels of a condition. This gives edgeR raw counts, and uses cellular detection rate as a covariate. Based on https://github.com/csoneson/conquer_comparison/blob/master/scripts/apply_edgeRQLFDetRate.R
RunEdgeR(seurat, cluster, grouping.var)
seurat |
A seurat object. |
cluster |
The number of a cluster to perform DE analysis on |
grouping.var |
The name of the metadata variable used to group the samples into two groups to compare. |
A data.frame
with row names as feature names, and the columns
p
and fold.change
.
de.results <- RunEdgeR(seurat, 0, 'challenge_status')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.