create_variable_distribution_data_subset: Create data for additional variable distribution (for a...

Description Usage Arguments Value Author(s) See Also Examples

Description

Create data for additional variable distribution (for a subset data)

Usage

1
2
create_variable_distribution_data_subset(full_profile_data,
    distribution_data, selected_genes, selected_taxa)

Arguments

full_profile_data

dataframe contains the full processed profiles

distribution_data

dataframe contains the full distribution data

selected_genes

list of genes of interst

selected_taxa

list of taxa of interest

Value

A dataframe ready for analysing the distribution of the additional variable(s) for a subset of genes and/or taxa.

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

See Also

parse_info_profile, create_variable_distribution_data, full_processed_profile, main_long_raw

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data("full_processed_profile", package="phyloprofile")
data("main_long_raw", package="phyloprofile")
distribution_data <- create_variable_distribution_data(
    main_long_raw, 0, 1, 0.5, 1
)
selected_genes <- "OG_1019"
selected_taxa <- c("Mammalia", "Echinoidea", "Gunneridae", "Mucorales",
"Alphaproteobacteria")
create_variable_distribution_data_subset(
    full_processed_profile,
    distribution_data,
    selected_genes,
    selected_taxa
)

trvinh/test documentation built on May 9, 2019, 2:26 a.m.