draw_canvas | R Documentation |
draw_canvas
uses the dataframe containing the protein features to
creates the basic plot element by determining the length of the longest
protein and the number of proteins to plot.
draw_canvas(data)
data |
Dataframe of one or more rows with the following column names: 'type', 'description', 'begin', 'end', 'length', 'accession', 'entryName', 'taxid', 'order'. Must contain a minimum of one "CHAIN" as data$type. |
A ggplot2 object either in the plot window or as an object.
# draws a blank canvas of the correct size
data("five_rel_data")
draw_canvas(five_rel_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.