de_ttest | R Documentation |
Run DE between two groups. x
is a sparse matrix with
count data. These counts can be normalized, or raw counts
can be given. If providiing raw counts, set the normalize
parameter to TRUE. c1
and c2
are vectors containing indices or names
of the columns, or boolean indicies for the droplets
A Welch's t-test is performed.
de_ttest(x, c1, c2, normalize = FALSE, sf = 1)
x |
A sparse matrix |
c1 |
Column indexes or names of first group |
c2 |
Column indexes or names of second group |
normalize |
Whether to scale the droplets to sum to |
sf |
Scale the counts in each droplet to sum to this value. |
A data frame of DE results with
gene name
difference between mu1 and mu2
log2 fold change
mean of group 1
mean of group 2
t statistic
p-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.