Stacked Lineage Plot
Usage
plotStackedLineage(
prot,
column = "DomArch",
cutoff,
Lineage_col = "Lineage",
xlabel = "Domain Architecture",
reduce_lineage = TRUE,
label.size = 8,
legend.position = c(0.7, 0.4),
legend.text.size = 10,
legend.cols = 2,
legend.size = 0.7,
coord_flip = TRUE,
legend = TRUE,
cpcols = NULL
)
Arguments
- prot
Data frame containing protein data including domain architecture and lineage information.
- column
Character. The name of the column in prot representing domain architectures (default is "DomArch").
- cutoff
Numeric. A threshold value for filtering domain architectures or protein counts.
- Lineage_col
Character. The name of the column representing lineage data (default is "Lineage").
- xlabel
Character. Label for the x-axis (default is "Domain Architecture").
- reduce_lineage
Logical. Whether to shorten lineage names (default is TRUE).
- label.size
Numeric. The size of axis text labels (default is 8).
- legend.position
Numeric vector. Coordinates for placing the legend (default is c(0.7, 0.4)).
- legend.text.size
Numeric. Size of the text in the legend (default is 10).
- legend.cols
Numeric. Number of columns in the legend (default is 2).
- legend.size
Numeric. Size of the legend keys (default is 0.7).
- coord_flip
Logical. Whether to flip the coordinates of the plot (default is TRUE).
- legend
Logical. Whether to display the legend (default is TRUE).
- cpcols