Learn R Programming

Momocs (version 1.4.1)

rm_asym: Removes asymmetric and symmetric variation on OutCoe objects

Description

Only for those obtained with efourier, otherwise a message is returned. rm_asym sets all B and C coefficients to 0; rm_sym sets all A and D coefficients to 0.

Usage

rm_asym(OutCoe)

# S3 method for default rm_asym(OutCoe)

# S3 method for OutCoe rm_asym(OutCoe)

rm_sym(OutCoe)

# S3 method for default rm_sym(OutCoe)

# S3 method for OutCoe rm_sym(OutCoe)

Value

an OutCoe object

Arguments

OutCoe

an OutCoe object

References

Below: the first mention, and two applications.

  • Iwata, H., Niikura, S., Matsuura, S., Takano, Y., & Ukai, Y. (1998). Evaluation of variation of root shape of Japanese radish (Raphanus sativus L.) based on image analysis using elliptic Fourier descriptors. Euphytica, 102, 143-149.

  • Iwata, H., Nesumi, H., Ninomiya, S., Takano, Y., & Ukai, Y. (2002). The Evaluation of Genotype x Environment Interactions of Citrus Leaf Morphology Using Image Analysis and Elliptic Fourier Descriptors. Breeding Science, 52(2), 89-94. doi:10.1270/jsbbs.52.89

  • Yoshioka, Y., Iwata, H., Ohsawa, R., & Ninomiya, S. (2004). Analysis of petal shape variation of Primula sieboldii by elliptic fourier descriptors and principal component analysis. Annals of Botany, 94(5), 657-64. doi:10.1093/aob/mch190

See Also

symmetry and the note there.

Examples

Run this code
botf <- efourier(bot, 12)
botSym <- rm_asym(botf)
boxplot(botSym)
botSymp <- PCA(botSym)
plot(botSymp)
plot(botSymp, amp.shp=5)

# Asymmetric only
botAsym <- rm_sym(botf)
boxplot(botAsym)
botAsymp <- PCA(botAsym)
plot(botAsymp)
# strange shapes because the original shape was mainly symmetric and would need its
# symmetric (eg its average) for a proper reconstruction. Should only be used like that:
plot(botAsymp, morpho=FALSE)

Run the code above in your browser using DataLab