Browse code

Adds MineICA, SomatiCA and lpNet to the repos.

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/MineICA@73179 bc3139a8-67e5-0310-9ffc-ced21a209358

Marc Carlson authored on 05/02/2013 22:15:53
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,40 @@
1
+\name{plotMclust}
2
+\alias{plotMclust}
3
+\title{Plots the Gaussian fitted  by \code{\link[mclust]{Mclust}}}
4
+\usage{
5
+  plotMclust(mc, data)
6
+}
7
+\arguments{
8
+  \item{mc}{The result of Mclust function applied to
9
+  argument \code{data}}
10
+
11
+  \item{data}{The vector of numeric values on which was
12
+  applied Mclust}
13
+}
14
+\value{
15
+  NULL
16
+}
17
+\description{
18
+  Given a result of function Mclust applied on a numeric
19
+  vector, this function add the fitted Gaussian to a
20
+  previous plot. This is an internal function called by
21
+  \code{plotPosSamplesInComp}.
22
+}
23
+\details{
24
+  This function can only deal with at the most three
25
+  Gaussian.
26
+}
27
+\examples{
28
+## create a mix of two Gaussian
29
+v <-c(rnorm(80,mean=-0.5,sd=1),rnorm(80,mean=1,sd=0.2))
30
+## apply Mclust
31
+mc <- Mclust(v)
32
+## plot fitted Gaussian on histogram of v
33
+hist(v, freq=FALSE)
34
+MineICA:::plotMclust(mc=mc,data=v)
35
+}
36
+\author{
37
+  Anne Biton
38
+}
39
+\keyword{internal}
40
+