calcPlotHeight: Calculate Appropriate Height for ProteinVis Plot

Description Usage Arguments Value Author(s) See Also

Description

Convenience function to calculate the total height of a plot based on the desired height if plotting pfam domains requires only 1 row

Usage

1
calcPlotHeight(baseheight, type = "metaCount", pfam, categories)

Arguments

baseheight

numeric. Height of the plot desired if plotting pfam domains requires only one row (ie there is no overlap) and 5 categories.

type

character. Indicates whether metaCountStructPlot or proteinStructPlot will eventually be called.

pfam

data.frame. PFAM data which will be passed to the plotting function

categories

character. Vector indicating the categories to be plotted.

Value

Height the plot should be taking into account overlapping PFAM domains

Author(s)

Gabriel Becker

See Also

metaCountStructPlot , proteinStructPlot


gmbecker/ProteinVis documentation built on May 17, 2019, 6:42 a.m.