Description Usage Arguments Examples
Calls a series of other functions that will reshape and refactor the data frame into the right format for use by MIMOSA Standardized for use with internal SCHARP data sets. We provide some default arguments as examples. Currently slow, and very much prototype code.
1 2 3 4 5 6 7 8 9 10 | ConstructMIMOSAExpressionSet(
thisdata,
reference = quote(STAGE %in% "CTRL" & PROTEIN %in% "Media+cells"),
measure.columns = c("Neg", "Pos"),
other.annotations = setdiff(colnames(thisdata), measure.columns),
default.cast.formula = component ~ ...,
.variables = quote(.(PTID, TESTDT, ASSAYID, PLATEID)),
featureCols = 1,
ref.append.replace = "_NEG"
)
|
thisdata |
is the input data frame |
reference |
is an |
measure.columns |
is a |
other.annotations |
is a |
default.cast.formula |
is a |
.variables |
is a dotted list that specifies the variable names (columns of the data frame) by which to group the data when organzing stimulated and unstimulated observations. i.e. PTID x ANTIGEN x TCELLSUBSET x TESTDT, or something else for your own data. |
featureCols |
is a |
ref.append.replace |
the terminating character string in the column names of the negative controls. It will be replaces with _REF for 'reference' |
1 2 3 4 5 6 7 | data(ICS)
E<-ConstructMIMOSAExpressionSet(ICS,
reference=ANTIGEN%in%'negctrl',measure.columns=c('CYTNUM','NSUB'),
other.annotations=c('CYTOKINE','TCELLSUBSET','ANTIGEN','UID'),
default.cast.formula=component~UID+ANTIGEN+CYTOKINE+TCELLSUBSET,
.variables=.(TCELLSUBSET,CYTOKINE,UID),
featureCols=1,ref.append.replace='_REF')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.