rpart.tree | R Documentation |
This function performs a recursive partitioning tree using the percentage (or raw counts) of identified cell populations. Depending if time.var
is present or absent, final tree were a cassification or regression tree, respectively.
rpart.tree(
fcs.SCE,
cell.clusters,
variables,
value = "percentage",
time.var,
event.var,
xerror,
rpart.control,
return.data = T
)
fcs.SCE |
A |
cell.clusters |
Name of column containing clusters identified through |
variables |
Vector with variables for calculating the cutoff. If nothing is detailed ( |
value |
String specifying if final resuls should be proportions ("percentage", default) or raw counts ("counts"). |
time.var |
Survival time variable. |
event.var |
Variable with event censoring. |
xerror |
Numeric value with cross-validation error for pruning the tree. If missing, the minimal error will be automatically selected. |
rpart.control |
List with parameters for controling |
return.data |
Original, pruned and used metadata should be returned?. Default = |
## Not run:
tr <- rpart.tree(fcs.SCE = fcs, cell.clusters = "clusters_named",
time.var = "PFS", event.var = "PFS_c")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.