createVariableDistributionDataSubset {PhyloProfile} | R Documentation

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

### Description

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

### Usage

    createVariableDistributionDataSubset(fullProfileData,
        distributionData, selectedGenes, selectedTaxa)

### Arguments

`fullProfileData` | dataframe contains the full processed profiles (see ?fullProcessedProfile, ?filterProfileData or ?fromInputToProfile)
`distributionData` | dataframe contains the full distribution data (see ?createVariableDistributionData)
`selectedGenes` | list of genes of interest. Default = "all".
`selectedTaxa` | list of taxa of interest Default = "all".

### Value

A dataframe for analysing the distribution of the additional variable(s) for a subset of genes and/or taxa containing the protein (ortholog) IDs and the values of their variables (var1 and var2).

### Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

### See Also

`parseInfoProfile`, `createVariableDistributionData`, `fullProcessedProfile`, `mainLongRaw`

### Examples

    data("fullProcessedProfile", package="PhyloProfile")
    data("mainLongRaw", package="PhyloProfile")
    distributionData <- createVariableDistributionData(
        mainLongRaw, c(0, 1), c(0.5, 1)
    )
    selectedGenes <- "100136at6656"
    selectedTaxa <- c("Mammalia", "Saccharomycetes", "Insecta")
    createVariableDistributionDataSubset(
        fullProcessedProfile,
        distributionData,
        selectedGenes,
        selectedTaxa
    )

[Package PhyloProfile version 1.0.7 Index]