dataVarDistTaxGroup: Create data for variable distribution comparison plot

Description Usage Arguments Value Author(s) See Also Examples

View source: R/compareTaxaGroups.R

Description

Create data for plotting the distribution comparison between 2 groups of taxa for a selected gene.

Usage

1
dataVarDistTaxGroup(data, inGroup, gene, variable)

Arguments

data

input phylogenetic profile in long format (see ?mainLongRaw and ?createLongMatrix)

inGroup

ID list of in-group taxa (e.g. "ncbi1234")

gene

ID of gene that need to be plotted the distribution comparison between in- and out-group taxa.

variable

var1 or c(var1, var2)

Value

Dataframe containing list of values for all available variables for the selected genes in in-group and out-group taxa (max. 3 columns).

Author(s)

Vinh Tran (tran@bio.uni-frankfurt.de)

See Also

createLongMatrix

Examples

1
2
3
4
5
data("mainLongRaw", package="PhyloProfile")
data <- mainLongRaw
inGroup <- c("ncbi9606", "ncbi10116")
variable <- colnames(data)[c(4, 5)]
dataVarDistTaxGroup(data, inGroup, "101621at6656", variable)

PhyloProfile documentation built on March 27, 2021, 6:01 p.m.