Description Usage Arguments Details Examples
View source: R/CompassSubsetComparisons.R
Obtain background-corrected proportions for COMPASS subsets. Perform Wilcoxon rank sum test comparing mean for one group to mean for another group. Defaults to only subsets above threshold 0.01. Saves a csv with the above data to the outdir, if provided.
1 2 3 4 5 | compass.subset.comparisons(compassResultOrPath, gsOrGsListOrPath,
parentSubset, threshold = 0.01, antigenCol, stimAntigen,
controlAntigen, stratifyBy, outdir = NULL,
stratifyByValueMinuend = NULL, stratifyByValueSubtrahend = NULL,
sampleIDCol)
|
compassResultOrPath |
|
gsOrGsListOrPath |
|
parentSubset |
|
threshold |
(optional) Filters subsets where the average mean_gamma is greater than the threshold |
antigenCol |
|
stimAntigen |
|
controlAntigen |
|
stratifyBy |
column of pData to stratify data by |
outdir |
(optional) |
stratifyByValueMinuend |
(optional) stratifyBy value to be used as selector for minuend (A in A - B) |
stratifyByValueSubtrahend |
(optional) stratifyBy value to be used as selector for subtrahend (B in A - B) |
It is assumed that any given GatingSetList will have the same gates across all GatingSets within.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
ifngResults <- compass.subset.comparisons(compassResultOrPath=myCompassResult,
gsOrGsListOrPath=gs,
parentSubset="4+",
antigenCol="Antigen",
stimAntigen="Peptide Pool 1",
controlAntigen="DMSO",
stratifyBy="Status",
sampleIDCol="PATIENT ID")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.