process_fcm | R Documentation |
Internal function called by run_fcm
that transforms long format functional data for use in a linear or additive functional Cox model.
process_fcm(
mxfundata,
id,
r = "r",
value = "fundiff",
analysis_vars,
quantile_transform = FALSE,
multilevel = FALSE
)
mxfundata |
Dataframe of spatial summary functions from multiplex imaging data, in long format. Can be estimated using the function |
id |
Character string, the name of the variable that identifies each unique subject. |
r |
Character string, the name of the variable that identifies the function domain (usually a radius for spatial summary functions). Default is "r". |
value |
Character string, the name of the variable that identifies the spatial summary function values. Default is "fundiff". |
analysis_vars |
Optional list of variables to be retained for downstream analysis. |
quantile_transform |
If TRUE, a quantile transformation is applied to the functional predictor before modeling |
A dataframe
with matrix-valued covariates l_int
, t_int
, and func
for use in a linear or additive functional Cox model.
Julia Wrobel julia.wrobel@emory.edu
Alex Soupir alex.soupir@moffitt.org
# simulate data
set.seed(1001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.