mapGGChr: FUNCTIONS mapGGChr and mapGGChrMark (for ggplot)

View source: R/mapGGChr.R

mapGGChrR Documentation

FUNCTIONS mapGGChr and mapGGChrMark (for ggplot)

Description

Currently works for holocentrics when only one OTU. See vignette.

mapGGChr: reads a data.frame and produces coordinates for ggplot of chr.

mapGGChrMark: reads data.frames and produces data.frames for ggplot of chr. and marks

Usage

mapGGChr(dfChrSize, chrSpacing = 0.5, squareness = 4, n = 50)

mapGGChrMark(dfChrSize, dfMarkPos, chrSpacing = 0.5, squareness = 4, n = 50)

Arguments

dfChrSize

character, name of data.frame with columns: chrSize

chrSpacing

numeric, 1 - chrSpacing will be the width of chr.

squareness

numeric, squareness

n

numeric, vertices number for rounded portions

dfMarkPos

(mapGGChrMark) name of data.frame of marks

Value

list

list


idiogramFISH documentation built on Aug. 22, 2023, 5:08 p.m.