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,63 @@
1
+\name{plotPosOneAnnotLevInComp_ggplot}
2
+\alias{plotPosOneAnnotLevInComp_ggplot}
3
+\title{Plots the position of a subset of samples in the histogram of all samples using \code{\link{ggplot2}}.}
4
+\usage{
5
+  plotPosOneAnnotLevInComp_ggplot(annot, colAnnot, selLev,
6
+    comp, title = NULL, colSel = "red", colAll = "grey74",
7
+    binwidth = 0.1, geneExpr = NULL, geneRef = NULL, ...)
8
+}
9
+\arguments{
10
+  \item{annot}{a data.frame of dimensions 'samples x
11
+  annotations' with one column corresponding to the
12
+  component to trait ("comp" column) and one column
13
+  corresponding to the groups of interest ("interest"
14
+  column)}
15
+
16
+  \item{colAnnot}{the name of a column of the argument
17
+  \code{annot} with the groups of interest}
18
+
19
+  \item{selLev}{the name of the group of interest}
20
+
21
+  \item{comp}{a vector of sample contributions}
22
+
23
+  \item{colSel}{the colour of the histogram of the group of
24
+  interest, default is "red"}
25
+
26
+  \item{colAll}{the colour of the global histogram}
27
+
28
+  \item{geneExpr}{a vector of values representative of the
29
+  component, e.g the expression of the witness gene of the
30
+  component}
31
+
32
+  \item{geneRef}{the ID of the feature/gene \code{geneExpr}
33
+  corresponds to, e.g the name of the witness gene}
34
+
35
+  \item{title}{A title for the plot}
36
+
37
+  \item{binwidth}{set the width of the bins, see
38
+  \code{\link[ggplot2]{geom_histogram}}}
39
+
40
+  \item{...}{other parameters given to
41
+  \code{\link[ggplot2]{geom_histogram}}}
42
+}
43
+\value{
44
+  An object of class ggplot2 containing the histogram
45
+}
46
+\description{
47
+  Given a sample annotation (e.g a tumor specific stage),
48
+  this function plots the positions of the corresponding
49
+  samples (e.g the subset of samples having this tumor
50
+  stage) within the histogram of the global sample
51
+  contributions. This function is called by
52
+  \code{\link{plotPosOneAnnotInComp_ggplot}} and is only
53
+  dedicated to the plot of the histogram using the package
54
+  \code{\link{ggplot2}}.
55
+}
56
+\author{
57
+  Anne Biton
58
+}
59
+\seealso{
60
+  \code{\link[ggplot2]{geom_histogram}}
61
+}
62
+\keyword{internal}
63
+