Description Usage Arguments Value Author(s) Examples
Sort domain dataframe of one protein (either seed or ortholog) based on the dataframe of the its paired protein, in order to bring the common domain feature in the same order which make it easy for comparing.
1 | sort_domains(seed_df, ortho_df)
|
seed_df |
data of seed protein |
ortho_df |
data of ortholog protein |
sorted domain list (dataframe)
Vinh Tran tran@bio.uni-frankfurt.de
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# get domain data
domain_file <- system.file(
"extdata", "domain_files/OG_1009.domains",
package = "phyloprofile", mustWork = TRUE
)
domain_df <- parse_domain_input(seedID, domain_file, "file")
# get seed_df and ortho_df
sub_df <- domain_df[domain_df$seedID == "OG_1009#A.thaliana@3702@241736",]
ortho_df <- dplyr::filter(sub_df, orthoID == "A.thaliana@3702@241736")
seed_df <- dplyr::filter(sub_df, orthoID != "A.thaliana@3702@241736")
# sort
sort_domains(seed_df, ortho_df)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.