Learn R Programming

shapeR (version 1.0-1)

remove.outline: Remove otolith outline

Description

A function for removing an otolith outline from the file 'outline.list'. Typically done if the image is of bad quality and needs to be enhanced in a image processing software

Usage

remove.outline(object, folder = "", fname = "")

Value

shapeR object

Arguments

object

A shapeR object

folder

The folder name where the outline that needs to be removed is stored

fname

The file name of the outline to be removed

Author

Lisa Anne Libungan

References

Libungan LA and Palsson S (2015) ShapeR: An R Package to Study Otolith Shape Variation among Fish Populations. PLoS ONE 10(3): e0121102. https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0121102

Examples

Run this code
if (FALSE) {
#Use test data from example in Libungan and Palsson (2015):
shape = shapeR("ShapeAnalysis/","FISH.csv")
shape = detect.outline(shape)
#If otolith outline in folder IC named 403_1 needs to be removed
shape = remove.outline(shape, "IC", "403_1")}

Run the code above in your browser using DataLab