Description Usage Arguments Value Examples
Update the tissues in a fitted LDA model
1 | FitLDAModelNewTissues(newtissue.data, summary.c, inner.iters = 200)
|
newtissue.data |
A data frame with character-valued columns rs and cat and numeric-valued columns with annotations. Each row contains 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, which must match an ID for which training data was included when fitting the LDA model. Annotation columns must have column names matching those supplied when fitting the LDA model. |
summary.c |
A fitted LDA model created using
|
inner.iters |
Integer specifying number of inner iterations |
a fitted LDA model, as returned by FitLDAModel
,
that can be used with Predict
for
the tissues in newtissue.data
1 2 3 4 5 6 7 8 9 10 | ## Not run:
data(training)
summary.c <- FitLDAModel(training.data=training, nclust=3,
kde.nbins=100, iters=50, inner.iters=50)
data(tissuenew)
newtissues <- FitLDAModelNewTissues(newtissue.data=tissuenew,
summary.c=summary.c,
inner.iters=50)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.