... | ... |
@@ -21,8 +21,7 @@ library(lattice) |
21 | 21 |
dataPath <- system.file("extdata", package = "DIAlignR") |
22 | 22 |
runs <- c("hroest_K120809_Strep0\%PlasmaBiolRepl2_R04_SW_filt", |
23 | 23 |
"hroest_K120809_Strep10\%PlasmaBiolRepl2_R04_SW_filt") |
24 |
-AlignObjOutput <- getAlignObjs(analytes = "QFNNTDIVLLEDFQK_3", runs, dataPath = dataPath, |
|
25 |
- objType = "medium") |
|
24 |
+AlignObjOutput <- getAlignObjs(analytes = 4618L, runs, dataPath = dataPath, objType = "medium") |
|
26 | 25 |
plotAlignmentPath(AlignObjOutput) |
27 | 26 |
} |
28 | 27 |
\author{ |
... | ... |
@@ -9,6 +9,9 @@ plotAlignmentPath(AlignObjOutput) |
9 | 9 |
\arguments{ |
10 | 10 |
\item{AlignObjOutput}{(list) The list contains AlignObj, raw XICs for reference and experiment, and reference-peak label.} |
11 | 11 |
} |
12 |
+\value{ |
|
13 |
+A plot to the current device. |
|
14 |
+} |
|
12 | 15 |
\description{ |
13 | 16 |
Plot aligned path through the similarity matrix. Reference run has indices on X-axis, eXp run has them on Y-axis. |
14 | 17 |
In getAlignObjs function, objType must be set to medium. |
... | ... |
@@ -6,6 +6,9 @@ |
6 | 6 |
\usage{ |
7 | 7 |
plotAlignmentPath(AlignObjOutput) |
8 | 8 |
} |
9 |
+\arguments{ |
|
10 |
+\item{AlignObjOutput}{(list) The list contains AlignObj, raw XICs for reference and experiment, and reference-peak label.} |
|
11 |
+} |
|
9 | 12 |
\description{ |
10 | 13 |
Plot aligned path through the similarity matrix. Reference run has indices on X-axis, eXp run has them on Y-axis. |
11 | 14 |
In getAlignObjs function, objType must be set to medium. |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,29 @@ |
1 |
+% Generated by roxygen2: do not edit by hand |
|
2 |
+% Please edit documentation in R/visualise_chromatograms.R |
|
3 |
+\name{plotAlignmentPath} |
|
4 |
+\alias{plotAlignmentPath} |
|
5 |
+\title{Visualize alignment path through similarity matrix} |
|
6 |
+\usage{ |
|
7 |
+plotAlignmentPath(AlignObjOutput) |
|
8 |
+} |
|
9 |
+\description{ |
|
10 |
+Plot aligned path through the similarity matrix. Reference run has indices on X-axis, eXp run has them on Y-axis. |
|
11 |
+In getAlignObjs function, objType must be set to medium. |
|
12 |
+} |
|
13 |
+\examples{ |
|
14 |
+library(lattice) |
|
15 |
+dataPath <- system.file("extdata", package = "DIAlignR") |
|
16 |
+runs <- c("hroest_K120809_Strep0\%PlasmaBiolRepl2_R04_SW_filt", |
|
17 |
+ "hroest_K120809_Strep10\%PlasmaBiolRepl2_R04_SW_filt") |
|
18 |
+AlignObjOutput <- getAlignObjs(analytes = "QFNNTDIVLLEDFQK_3", runs, dataPath = dataPath, |
|
19 |
+ objType = "medium") |
|
20 |
+plotAlignmentPath(AlignObjOutput) |
|
21 |
+} |
|
22 |
+\author{ |
|
23 |
+Shubham Gupta, \email{shubh.gupta@mail.utoronto.ca} |
|
24 |
+ |
|
25 |
+ORCID: 0000-0003-3500-8152 |
|
26 |
+ |
|
27 |
+License: (c) Author (2019) + MIT |
|
28 |
+Date: 2019-12-13 |
|
29 |
+} |