coo_scale.RdReturns a scaled shape. Note that normalized centroid size is used by default. See get_centsize_norm.
coo_scale(x, scale, centsize = get_centsize_norm, from_col, to_col, ...) coo_scale_x(x, scale, from_col, to_col, ...) coo_scale_y(x, scale, from_col, to_col, ...)
| x | |
|---|---|
| scale |
|
| centsize |
|
| from_col | colnames from where to get the coo_list and how to name the resulting one (only for mom_tbl method) |
| to_col | colnames from where to get the coo_list and how to name the resulting one (only for mom_tbl method) |
| ... | useless here |
a coo_single, coo_list or mom_tbl
coo_scale_x: scale along x-axis
coo_scale_y: scale along y-axis
Other coo_modifyers:
coo_align(),
coo_baseline(),
coo_center(),
coo_reflect,
coo_rev(),
coo_rotatecenter(),
coo_rotate(),
coo_sample_rr(),
coo_sample(),
coo_shear(),
coo_slide(),
coo_split(),
coo_template(),
coo_trans(),
coo_trim(),
coo_up()
Other scalings:
coo_template()