... | ... |
@@ -4,9 +4,19 @@ |
4 | 4 |
\alias{plotCellMiner} |
5 | 5 |
\title{Description: Produces CellMiner-like plots in R} |
6 | 6 |
\usage{ |
7 |
-plotCellMiner(drugAct, molData, plots, nsc = NULL, gene = NULL, |
|
8 |
- features = NULL, sub = NULL, xLimits = NULL, xLabel = NULL, |
|
9 |
- extraPlot = NULL, verbose = FALSE) |
|
7 |
+plotCellMiner( |
|
8 |
+ drugAct, |
|
9 |
+ molData, |
|
10 |
+ plots, |
|
11 |
+ nsc = NULL, |
|
12 |
+ gene = NULL, |
|
13 |
+ features = NULL, |
|
14 |
+ sub = NULL, |
|
15 |
+ xLimits = NULL, |
|
16 |
+ xLabel = NULL, |
|
17 |
+ extraPlot = NULL, |
|
18 |
+ verbose = FALSE |
|
19 |
+) |
|
10 | 20 |
} |
11 | 21 |
\arguments{ |
12 | 22 |
\item{drugAct}{a matrix of drug activity values (cell lines as columns, drug entries as rows)} |
... | ... |
@@ -58,6 +68,4 @@ plotCellMiner(drugAct, molData, plots=NULL, nsc=NULL, features=c("mutCDK4", |
58 | 68 |
\author{ |
59 | 69 |
Augustin Luna <augustin AT mail.nih.gov> |
60 | 70 |
} |
61 |
-\concept{ |
|
62 |
-rcellminer |
|
63 |
-} |
|
71 |
+\concept{rcellminer} |
... | ... |
@@ -44,15 +44,15 @@ Description: Produces CellMiner-like plots in R |
44 | 44 |
drugAct <- exprs(getAct(rcellminerData::drugData)) |
45 | 45 |
molData <- getMolDataMatrices() |
46 | 46 |
plots <- c("mut", "drug", "cop", "xai", "pro") |
47 |
-plotCellMiner(drugAct, molData, plots=plots, nsc="94600", gene="CDK4", verbose=TRUE) |
|
47 |
+plotCellMiner(drugAct, molData, plots=plots, nsc="94600", gene="CDK4", verbose=FALSE) |
|
48 | 48 |
|
49 | 49 |
plots <- c("mut", "xai", "cop", "cop", "cop", "cop") |
50 | 50 |
plotCellMiner(drugAct, molData, plots=plots, nsc="94600", gene=c("CDK4", "TP53", |
51 |
- "BRAF", "GAPDH"), verbose=TRUE) |
|
51 |
+ "BRAF", "GAPDH"), verbose=FALSE) |
|
52 | 52 |
|
53 |
-plotCellMiner(drugAct, molData, plots=plots, nsc=NULL, features=c("mutCDK4", |
|
54 |
- "xaiCDK4", "exochr1:101704532_G_T", "mdais_p53_mut", "mirhsa-miR-22", "proTP53_26_GBL00064"), |
|
55 |
- verbose=TRUE) |
|
53 |
+plotCellMiner(drugAct, molData, plots=NULL, nsc=NULL, features=c("mutCDK4", |
|
54 |
+ "xaiCDK4", "exochr1:101704532_G_T", "mdaIS_P53_MUT", "mirhsa-miR-22", "proTP53_26_GBL00064"), |
|
55 |
+ verbose=FALSE) |
|
56 | 56 |
|
57 | 57 |
} |
58 | 58 |
\author{ |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-% Generated by roxygen2 (4.1.1): do not edit by hand |
|
1 |
+% Generated by roxygen2: do not edit by hand |
|
2 | 2 |
% Please edit documentation in R/plotCellMiner.R |
3 | 3 |
\name{plotCellMiner} |
4 | 4 |
\alias{plotCellMiner} |
... | ... |
@@ -13,15 +13,15 @@ plotCellMiner(drugAct, molData, plots, nsc = NULL, gene = NULL, |
13 | 13 |
|
14 | 14 |
\item{molData}{a list of matricies a molecular} |
15 | 15 |
|
16 |
-\item{plots}{a vector of characters denoting the plots to include and the order (e.g. c("mut", "drug", "cop"). |
|
16 |
+\item{plots}{a vector of characters denoting the plots to include and the order (e.g. c("mut", "drug", "cop"). |
|
17 | 17 |
Currently, supported entries mutations (mut), drug activities (drug), copy number variations (cop)} |
18 | 18 |
|
19 | 19 |
\item{nsc}{a string NSC ID that will be plotted when a "drug" entry appears in the plots vector} |
20 | 20 |
|
21 | 21 |
\item{gene}{a string HUGO gene symbol for which the "mut", "cop", or "exp" plots will be produced if in plots vector} |
22 | 22 |
|
23 |
-\item{features}{a vector of strings that provide the full IDs for elements to be plotted (e.g. mutCDK4 for CDK4 mutations). |
|
24 |
-This overwrites the nsc and gene parameters, but is needed in advanced plots that involve data that involves one-to-many |
|
23 |
+\item{features}{a vector of strings that provide the full IDs for elements to be plotted (e.g. mutCDK4 for CDK4 mutations). |
|
24 |
+This overwrites the nsc and gene parameters, but is needed in advanced plots that involve data that involves one-to-many |
|
25 | 25 |
relationships (e.g. many entries for a given gene in the exome data) and a gene symbol is ambiguous.} |
26 | 26 |
|
27 | 27 |
\item{sub}{a vector of strings with sub-titles for each plot} |
... | ... |
@@ -47,12 +47,13 @@ plots <- c("mut", "drug", "cop", "xai", "pro") |
47 | 47 |
plotCellMiner(drugAct, molData, plots=plots, nsc="94600", gene="CDK4", verbose=TRUE) |
48 | 48 |
|
49 | 49 |
plots <- c("mut", "xai", "cop", "cop", "cop", "cop") |
50 |
-plotCellMiner(drugAct, molData, plots=plots, nsc="94600", gene=c("CDK4", "TP53", |
|
50 |
+plotCellMiner(drugAct, molData, plots=plots, nsc="94600", gene=c("CDK4", "TP53", |
|
51 | 51 |
"BRAF", "GAPDH"), verbose=TRUE) |
52 | 52 |
|
53 |
-plotCellMiner(drugAct, molData, plots=plots, nsc=NULL, features=c("mutCDK4", |
|
54 |
- "xaiCDK4", "exochr1:101704532_G_T", "mdais_p53_mut", "mirhsa-miR-22", "proTP53_26_GBL00064"), |
|
53 |
+plotCellMiner(drugAct, molData, plots=plots, nsc=NULL, features=c("mutCDK4", |
|
54 |
+ "xaiCDK4", "exochr1:101704532_G_T", "mdais_p53_mut", "mirhsa-miR-22", "proTP53_26_GBL00064"), |
|
55 | 55 |
verbose=TRUE) |
56 |
+ |
|
56 | 57 |
} |
57 | 58 |
\author{ |
58 | 59 |
Augustin Luna <augustin AT mail.nih.gov> |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,63 @@ |
1 |
+% Generated by roxygen2 (4.1.1): do not edit by hand |
|
2 |
+% Please edit documentation in R/plotCellMiner.R |
|
3 |
+\name{plotCellMiner} |
|
4 |
+\alias{plotCellMiner} |
|
5 |
+\title{Description: Produces CellMiner-like plots in R} |
|
6 |
+\usage{ |
|
7 |
+plotCellMiner(drugAct, molData, plots, nsc = NULL, gene = NULL, |
|
8 |
+ features = NULL, sub = NULL, xLimits = NULL, xLabel = NULL, |
|
9 |
+ extraPlot = NULL, verbose = FALSE) |
|
10 |
+} |
|
11 |
+\arguments{ |
|
12 |
+\item{drugAct}{a matrix of drug activity values (cell lines as columns, drug entries as rows)} |
|
13 |
+ |
|
14 |
+\item{molData}{a list of matricies a molecular} |
|
15 |
+ |
|
16 |
+\item{plots}{a vector of characters denoting the plots to include and the order (e.g. c("mut", "drug", "cop"). |
|
17 |
+Currently, supported entries mutations (mut), drug activities (drug), copy number variations (cop)} |
|
18 |
+ |
|
19 |
+\item{nsc}{a string NSC ID that will be plotted when a "drug" entry appears in the plots vector} |
|
20 |
+ |
|
21 |
+\item{gene}{a string HUGO gene symbol for which the "mut", "cop", or "exp" plots will be produced if in plots vector} |
|
22 |
+ |
|
23 |
+\item{features}{a vector of strings that provide the full IDs for elements to be plotted (e.g. mutCDK4 for CDK4 mutations). |
|
24 |
+This overwrites the nsc and gene parameters, but is needed in advanced plots that involve data that involves one-to-many |
|
25 |
+relationships (e.g. many entries for a given gene in the exome data) and a gene symbol is ambiguous.} |
|
26 |
+ |
|
27 |
+\item{sub}{a vector of strings with sub-titles for each plot} |
|
28 |
+ |
|
29 |
+\item{xLimits}{a 2 number vector with the the minimum and maximum X-axis values (default: -3,3 for Z-scores, 0,1 for binary entries)} |
|
30 |
+ |
|
31 |
+\item{xLabel}{a string for the default X-axis label} |
|
32 |
+ |
|
33 |
+\item{extraPlot}{a list containing title, label, and values (numeric vector of length 60); only one extra plot can be included} |
|
34 |
+ |
|
35 |
+\item{verbose}{a boolean to show debugging information} |
|
36 |
+} |
|
37 |
+\value{ |
|
38 |
+None |
|
39 |
+} |
|
40 |
+\description{ |
|
41 |
+Description: Produces CellMiner-like plots in R |
|
42 |
+} |
|
43 |
+\examples{ |
|
44 |
+drugAct <- exprs(getAct(rcellminerData::drugData)) |
|
45 |
+molData <- getMolDataMatrices() |
|
46 |
+plots <- c("mut", "drug", "cop", "xai", "pro") |
|
47 |
+plotCellMiner(drugAct, molData, plots=plots, nsc="94600", gene="CDK4", verbose=TRUE) |
|
48 |
+ |
|
49 |
+plots <- c("mut", "xai", "cop", "cop", "cop", "cop") |
|
50 |
+plotCellMiner(drugAct, molData, plots=plots, nsc="94600", gene=c("CDK4", "TP53", |
|
51 |
+ "BRAF", "GAPDH"), verbose=TRUE) |
|
52 |
+ |
|
53 |
+plotCellMiner(drugAct, molData, plots=plots, nsc=NULL, features=c("mutCDK4", |
|
54 |
+ "xaiCDK4", "exochr1:101704532_G_T", "mdais_p53_mut", "mirhsa-miR-22", "proTP53_26_GBL00064"), |
|
55 |
+ verbose=TRUE) |
|
56 |
+} |
|
57 |
+\author{ |
|
58 |
+Augustin Luna <augustin AT mail.nih.gov> |
|
59 |
+} |
|
60 |
+\concept{ |
|
61 |
+rcellminer |
|
62 |
+} |
|
63 |
+ |