dataVarDistTaxGroup {PhyloProfile} | R Documentation |
Create data for plotting the distribution comparison between 2 groups of taxa for a selected gene.
dataVarDistTaxGroup(data, inGroup, gene, variable)
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) |
Dataframe containing list of values for all available variables for the selected genes in in-group and out-group taxa (max. 3 columns).
Vinh Tran (tran@bio.uni-frankfurt.de)
data("mainLongRaw", package="PhyloProfile") data <- mainLongRaw inGroup <- c("ncbi9606", "ncbi10116") variable <- colnames(data)[c(4, 5)] dataVarDistTaxGroup(data, inGroup, "101621at6656", variable)