-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplot_differential_chiclet.Rd
69 lines (60 loc) · 2.31 KB
/
plot_differential_chiclet.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_differential_chiclet.R
\name{plot_differential_chiclet}
\alias{plot_differential_chiclet}
\title{Chiclet differential deuterium uptake plot}
\usage{
plot_differential_chiclet(
diff_uptake_dat = NULL,
diff_p_uptake_dat = NULL,
theoretical = FALSE,
fractional = FALSE,
show_houde_interval = FALSE,
show_tstud_confidence = FALSE,
confidence_level = 0.98,
show_uncertainty = FALSE
)
}
\arguments{
\item{diff_uptake_dat}{data produced by
\code{\link{create_diff_uptake_dataset}} function.}
\item{diff_p_uptake_dat}{...}
\item{theoretical}{\code{logical}, determines if values are theoretical.}
\item{fractional}{\code{logical}, determines if values are fractional.}
\item{show_houde_interval}{\code{logical}, determines if houde interval is shown.}
\item{show_tstud_confidence}{\code{logical}, determines if t-Student test validity
is shown.}
\item{confidence_level}{confidence level for the test, from range [0, 1].
Important if selected show_confidence_limit.}
\item{show_uncertainty}{\code{logical}, determines if the
uncertainty is shown.}
}
\value{
a \code{\link{ggplot}} object.
}
\description{
Chiclet plot of differential deuterium uptake values
between two biological states in time.
}
\details{
Function \code{\link{plot_differential_chiclet}} generates
chiclet differential plot based on provided data and parameters.
On X-axis there is a peptide ID. On Y-axis are time points
of measurement. Each tile for a peptide in time has a color value
representing the deuterium uptake difference between chosen states,
in a form based on provided criteria (e.q. fractional). Each tile has
a plus sign, which size represent the uncertainty of measurement for
chosen value.
}
\examples{
dat <- read_hdx(system.file(package = "HaDeX", "HaDeX/data/KD_180110_CD160_HVEM.csv"))
diff_uptake_dat <- create_diff_uptake_dataset(dat)
plot_differential_chiclet(diff_uptake_dat)
plot_differential_chiclet(diff_uptake_dat, show_houde_interval = T)
diff_p_uptake_dat <- create_p_diff_uptake_dataset(dat)
plot_differential_chiclet(diff_p_uptake_dat = diff_p_uptake_dat, show_tstud_confidence = T)
plot_differential_chiclet(diff_p_uptake_dat = diff_p_uptake_dat, show_tstud_confidence = T, show_houde_interval = T)
}
\seealso{
\code{\link{create_diff_uptake_dataset}}
}