Method for geneView creation
create_geneview(
data,
grouping,
plot.type = "line",
facet.target = "gene",
facet.cols = 2,
colors = NULL,
ylabel = NULL,
ylimits = NULL,
gene.label = NULL,
plot.method = "static",
width = "auto",
height = "auto",
ppi = 72,
scale = 1
)
data.table containing plot data
data.table metadata containing: column1 : key column2 : factor1
String specifying which plot type is used c("box", "line", "violin", "bar").
Target to plot on x-Axis c("gene", "condition").
Number of plots per row.
Vector of colors used for color palette
Label of the y-axis (default = NULL).
Vector defining scale of y-axis (default = NULL).
Vector of labels used instead of gene names (default = NULL).
Choose which method used for plotting. Either "static" or "interactive" (Default = "static").
Set the width of the plot in cm (default = "auto").
Set the height of the plot in cm (default = "auto").
Pixel per inch (default = 72).
Modify plot size while preserving aspect ratio (Default = 1).
Returns depending on plot.method list(plot = ggplot/ plotly object, width = width in cm, height = height in cm, ppi = pixel per inch, exceed_size = Boolean).
Width/ height limit = 500. If exceeded default to 500 and issue exceed_size = TRUE.