Description Usage Arguments Details Value Note See Also Examples
perSubsetPFS Compute the PFS (polyfunctionality score) per subject and stimulation group
1 2 |
x |
|
M |
|
stimVar |
|
parentVar |
|
outcomeVar |
|
... |
additional arguments passed to weightForPFS. |
Requires that the data table has a variable for stimulation and for cell population parent.
The user can pass in a function to the argument parser=
. This function parses a cell subset name string and
returns the degree of functionality for the cell subset. The default is degreeFromStringFun
data.frame
of polyfunctionality scores for each cell subset and subject, weighted appropriately.
Uses rlang quosures to pass variable information. PFS are NOT normalized to the total number of possible subsets (n*(n+1)/2), like in COMPASS.
degreeFromStringFun
weightForPFS
1 2 3 4 5 6 7 | data(fit505)
flowReMixPFS(fit505,M=5, stimVar = stimGroup, parentVar = parent)
flowReMixPFS(fit505,M=5,stimVar=stimGroup,parentVar=parent,outcomeVar=infection)
## Not run:
flowReMixPFS(rv144_aggregate,M=6,stimVar=stim,parentVar=parent,split=",")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.