HLDAResult-class {R3CPET} | R Documentation

## Class `"HLDAResult"`

### Description

This class is a container for the results generated by the HLDA algorithm

### Usage

     HLDAResult(docPerTopic,wordsPerTopic ,betas)

### Arguments

`docPerTopic` | Object of class `"matrix"` describing the partnership of each document in a topic. In our case a documents is the protein interaction networks associated with each DNA interaction and the topics are the inferred chromatin maintainer networks.
`wordsPerTopic` | Object of class `"matrix"` describing the partnership of each word to a topic. In our case a word is an edge and the topics are the chromatin maintainer networks.
`betas` | Object of class `"numeric"` the beta values for each network. Basically, it shows how popular is the network.

### Value

an `HLDAResult` object.

### Accessors

For a given `HLDAResult` object the following accesor functions can be used:

`docPerTopic(x)`

  gets the content of the `docPerTopic` matrix.

`wordsPerTopic(x)`

  gets the content of the `wordsPerTopic` matrix.

`betas(x)`

  gets the `betas` values.

### Author(s)

Mohamed Nadhir Djekidel (nde12@mails.tsinghua.edu.cn)

### References

Chong Wang, John Paisley and David M. Blei, Online variational inference for the hierarchical Dirichlet process .In AISTATS 2011

Mohamed Nadhir D, Yang C et al, 3CPET: Finding Co-factor Complexes in Chia-PET experiment using a Hierarchical Dirichlet Process, ....

### See Also

`NetworkCollection`, `ChromMaintainers` , `InferNetworks`

### Examples

    showClass("HLDAResult")

[Package R3CPET version 1.20.0 Index]