Description Usage Arguments Value Author(s) See Also Examples
Create data for plotting the phylogentic profiles
1 2 3 | create_profile_data(superTaxon_data, ref_taxon, percent_cutoff,
coortholog_cutoff_max, var1_cutoff, var2_cutoff, var1_relation,
var2_relation, group_by_cat, cat_dt)
|
superTaxon_data |
a reduced dataframe contains info for all profiles in the selected taxonomy rank. |
ref_taxon |
selected reference taxon |
percent_cutoff |
min and max cutoffs for percentage of species present in a supertaxon |
coortholog_cutoff_max |
maximum number of co-orthologs allowed |
var1_cutoff |
min and max cutoffs for var1 |
var2_cutoff |
min anc max cutoffs for var2 |
var1_relation |
relation of var1 ("protein" for protein-protein or "species" for protein-species) |
var2_relation |
relation of var2 ("protein" for protein-protein or "species" for protein-species) |
group_by_cat |
group genes by their categories (TRUE or FALSE) |
cat_dt |
dataframe contains gene categories (optional, NULL if group_by_cat = FALSE or no info provided) |
A dataframe ready for generating profile plot.
Vinh Tran tran@bio.uni-frankfurt.de
parse_info_profile
and reduce_profile
for generating input dataframe, full_processed_profile
for a
demo full processed profile dataframe
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | data("full_processed_profile", package="phyloprofile")
superTaxon_data <- reduce_profile(full_processed_profile)
ref_taxon <- "Mammalia"
percent_cutoff <- c(0.0, 1.0)
coortholog_cutoff_max <- 10
var1_cutoff <- c(0.75, 1.0)
var2_cutoff <- c(0.5, 1.0)
var1_relation <- "protein"
var2_relation <- "species"
group_by_cat <- FALSE
cat_dt <- NULL
create_profile_data(
superTaxon_data,
ref_taxon,
percent_cutoff,
coortholog_cutoff_max,
var1_cutoff,
var2_cutoff,
var1_relation,
var2_relation,
group_by_cat,
cat_dt
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.