40e88096 |
% Generated by roxygen2: do not edit by hand
|
c32ed94f |
% Please edit documentation in R/DownsampleMatrix.R
|
40e88096 |
\name{calcEffectSizes}
\alias{calcEffectSizes}
|
40c2c313 |
\title{Finds the effect sizes for all genes in the original dataset, regardless of
significance.}
|
40e88096 |
\usage{
calcEffectSizes(countMatrix, condition)
}
\arguments{
\item{countMatrix}{Matrix. A simulated counts matrix, sans labels.}
|
40c2c313 |
\item{condition}{Factor. The condition labels for the simulated cells. If
more than 2 conditions are given, the first will be compared to all others by
default.}
|
40e88096 |
}
\value{
A vector of cohen's d effect sizes for each gene.
}
\description{
|
40c2c313 |
Finds the effect sizes for all genes in the original dataset, regardless of
significance.
|
40e88096 |
}
|
1db9e48a |
\examples{
|
c32ed94f |
data("mouseBrainSubsetSCE")
res <- calcEffectSizes(assay(mouseBrainSubsetSCE, "counts"),
|
930ec858 |
condition = colData(mouseBrainSubsetSCE)$level1class)
|
1db9e48a |
}
|