import_lmks: import landmark coordinates

View source: R/BoneDensityFunctions.R

import_lmksR Documentation

import landmark coordinates

Description

import landmark coordinates

Usage

import_lmks(landmark_path, x = 1, y = 1, z = 1)

Arguments

landmark_path

String. File path to landmark data. .json or .fcsv format

x

Integer Value to apply to convert mesh i.e. -1 will mirror x coords

y

Integer Value to apply to convert mesh i.e. -1 will mirror y coords

z

Integer Value to apply to convert mesh i.e. -1 will mirror z coords

Value

dataframe. Columns are landmark name, x, y, and z coordinates

Author(s)

Scott Telfer scott.telfer@gmail.com

Examples

landmark_path <- system.file("extdata", "test_femur.mrk.json",
                             package = "BoneDensityMapping")
landmarks <- import_lmks(landmark_path)

BoneDensityMapping documentation built on Aug. 8, 2025, 6:46 p.m.