Description Usage Arguments Details Examples
View source: R/CytokineSpecificSubsetComparison.R
Compare cytokine-positive subsets to cytokine-negative subsets. Additionally stratify by a column in the sample metadata. Perform a wilcoxon rank sum test for each subset group.
1 2 3 4 5 6 7 | cytokine.specific.subset.comparison(compassResultOrPath, gsOrGsListOrPath,
cytokineOfInterestGate, parentSubset, threshold = 0.01, antigenCol,
stimAntigen, controlAntigen, stratifyBy,
showSignificanceBracket = TRUE, showTitle = TRUE, sampleIDCol,
outdir = NULL, themeBaseSize = 15, removeGridAndBg = FALSE,
stratifyByColors = NULL, ymax = NULL,
stratifyByValueMinuend = NULL, stratifyByValueSubtrahend = NULL)
|
compassResultOrPath |
|
gsOrGsListOrPath |
|
cytokineOfInterestGate |
|
parentSubset |
|
threshold |
(optional) Filters subsets where the average mean_gamma is greater than the threshold |
antigenCol |
|
stimAntigen |
|
controlAntigen |
|
stratifyBy |
column of pData to stratify plot by |
showSignificanceBracket |
(optional) |
showTitle |
(optional) |
outdir |
(optional) |
themeBaseSize |
(optional) |
removeGridAndBg |
(optional) |
stratifyByColors |
(optional) |
ymax |
(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 12 13 14 | ## Not run:
ifngResults <- cytokine.specific.subset.comparison(compassResultOrPath=myCompassResult,
gsOrGsListOrPath=gs,
cytokineOfInterestGate="IFNg+",
parentSubset="4+",
antigenCol="Antigen",
stimAntigen="Peptide Pool 1",
controlAntigen="DMSO",
stratifyBy="Status",
showSignificanceBracket=TRUE,
showTitle=FALSE,
sampleIDCol="PATIENT ID")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.