new.profile | R Documentation |
Creates a new ultrasound profile, used as input for the
us.predict
function.
new.profile(u = NULL, ...)
u |
A vector of length 14, corresponding to the input ultrasound
profile. The order of the elements in u must be:
short axis [numeric], cortical thickness [numeric],
nodal core sign (hilum) [dichotomous],
perinodal hyperechogenic ring [dichotomous],
cortical interruption [dichotomous], echogenicity [dichotomous],
focal intranodal deposit [categorical],
vascular flow localization [categorical],
cortical thickening [categorical],
vascular flow architecture pattern [categorical],
cortical-medullar interface distortion [categorical],
shape [categorical], grouping [categorical], color score [ordinal].
Value -1 can be entered for missing values.
If |
... |
Currently ignored. |
A list of 2 objects:
"ultrasound", ultrasound features vector;
"missing", missing values vector (empty, if no missing values are found).
Fernando Palluzzi fernando.palluzzi@gmail.com
See show.mpmenv
for ultrasound
variable description.
See also us.predict
to launch the full
Morphonode Predictive Model suite.
### Profile with missing data u <- new.profile(c(10.0, 6.3, 1, 0, 0, 0, -1, 1, 2, 2, 3, -1, -1, -1)) print(u) ### New profile from simulated data # High metastatic risk profile u.hmr <- new.profile(us.simulate(signature = "HMR")) print(u.hmr) # Low metastatic risk profile u.lmr <- new.profile(us.simulate(signature = "LMR")) print(u.lmr) # Malignant profile u1 <- new.profile(us.simulate(y = 1)) print(u1) # Non-malignant profile u0 <- new.profile(us.simulate(y = 0)) print(u0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.