prep.sb: Prep scalebar

prep.sbR Documentation

Prep scalebar

Description

Prep scalebar

Usage

prep.sb(
  st.object,
  data,
  data.type,
  indices,
  split.labels,
  features,
  dims,
  show.sb
)

Arguments

st.object

An object of class 'Staffli'

data

data.frame for plotting

data.type

String specifying the class of the variable used for splitting

indices

Integer vector specifying sample indices to include in the plot

split.labels

Split plots

features

Features included in data

dims

List of image dimensions

show.sb

Return NULL if FALSE

Value

A data.frame containing positions of a scale bar used for plotting


jbergenstrahle/STUtility documentation built on March 14, 2023, 7:15 a.m.