Description Usage Arguments Value Examples
fit an LDA model
1 2 | FitLDAModel(training.data, nclust = 9, kde.nbins = 1000, iters = 250,
inner.iters = 200)
|
training.data |
A data frame with character-valued columns rs and cat and numeric-valued columns with annotations. Each row is data for one SNP in one tissue. rs is an ID for the SNP, which need not be unique, and cat is an ID for each tissue. |
nclust |
Integer specifying the number of clusters to estimate |
kde.nbins |
Integer specifying how many bins to use for binning each annotation |
iters |
Integer specifying number of outer iterations |
inner.iters |
Integer specifying number of inner iterations |
A fitted LDA model, i.e., a list (apart from elements used internally) with elements
a data frame with one row per training variant, with the posterior probability for each variant to be in each cluster in columns CLUSTER1,... and also with columns cat and rs
a data frame with one row per tissue with membership vectors for each tissue with columns cat and CLUSTER1,...
1 2 3 4 5 6 | ## Not run:
data(training)
summary.c <- FitLDAModel(training.data=training, nclust=3,
kde.nbins=100, iters=50, inner.iters=50)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.