Description Usage Arguments Value Author(s) See Also Examples
Create architecture plot for both seed and orthologous protein. If domains of ortholog are missing, only architecture of seed protein will be plotted. NOTE: seed protein ID is the one being shown in the profile plot, which normally is also the orthologous group ID.
1 | create_archi_plot(info, domain_df, label_archi_size, title_archi_size)
|
info |
a list contains seed and orthologs IDs |
domain_df |
dataframe contains domain info |
label_archi_size |
lable size (in px) |
title_archi_size |
title size (in px) |
A plot as arrangeGrob object. Use grid::grid.draw(plot) to render.
Vinh Tran tran@bio.uni-frankfurt.de
domain_plotting
, sort_domains
,
parse_domain_input
, get_qual_col_for_vector
1 2 3 4 5 6 7 8 9 10 | seedID <- "OG_1009"
orthoID <- "A.thaliana@3702@241736"
info <- c(seedID, orthoID)
domain_file <- system.file(
"extdata", "domain_files/OG_1009.domains",
package = "phyloprofile", mustWork = TRUE
)
domain_df <- parse_domain_input(seedID, domain_file, "file")
plot <- create_archi_plot(info, domain_df, 9, 9)
grid::grid.draw(plot)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.