Description Usage Arguments Details Value
This function takes a limma
EList
object and calculates the
pairwise differences between two groups of samples.
1 | calcDif(E, pairID, groupID)
|
E |
A limma |
pairID |
A factor used to match the samples. Incomplete pairs are allowed, but they will be ignored. |
groupID |
A factor categorizing the samples in one of two groups. This factor must have exactly two levels. |
First, the function construct a list of pair IDs which are present in
both groups. Next, for each sample in the first group, the corresponding
sample from the second group is subtracted from it. This is of course
done for every variable (gene or otherwise) in E
.
EList
object with as many samples as there are pairs
present in both groups. In the target
slot of the object, a new
column called difID
is created (if absent) or modified, and includes
information about the subtraction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.