feature-plotting | R Documentation |
Various plotting functions for feature group data.
## S4 method for signature 'featureGroups,missing'
plot(
x,
colourBy = c("none", "rGroups", "fGroups"),
onlyUnique = FALSE,
retMin = FALSE,
showLegend = TRUE,
col = NULL,
pch = NULL,
...
)
## S4 method for signature 'featureGroups'
plotInt(
obj,
average = FALSE,
normalized = FALSE,
xnames = TRUE,
showLegend = FALSE,
pch = 20,
type = "b",
lty = 3,
col = NULL,
plotArgs = NULL,
linesArgs = NULL
)
## S4 method for signature 'featureGroupsSet'
plotInt(
obj,
average = FALSE,
normalized = FALSE,
xnames = !sets,
showLegend = sets,
pch = 20,
type = "b",
lty = 3,
col = NULL,
plotArgs = NULL,
linesArgs = NULL,
sets = FALSE
)
## S4 method for signature 'featureGroups'
plotChord(
obj,
addSelfLinks = FALSE,
addRetMzPlots = TRUE,
average = FALSE,
outerGroups = NULL,
addIntraOuterGroupLinks = FALSE,
...
)
## S4 method for signature 'featureGroups'
plotChroms(
obj,
analysis = analyses(obj),
groupName = names(obj),
retMin = FALSE,
showPeakArea = FALSE,
showFGroupRect = TRUE,
title = NULL,
colourBy = c("none", "rGroups", "fGroups"),
showLegend = TRUE,
annotate = c("none", "ret", "mz"),
intMax = "eic",
EICParams = getDefEICParams(),
showProgress = FALSE,
xlim = NULL,
ylim = NULL,
EICs = NULL,
...
)
## S4 method for signature 'featureGroups'
plotVenn(obj, which = NULL, ...)
## S4 method for signature 'featureGroupsSet'
plotVenn(obj, which = NULL, ..., sets = FALSE)
## S4 method for signature 'featureGroups'
plotUpSet(obj, which = NULL, nsets = length(which), nintersects = NA, ...)
## S4 method for signature 'featureGroups'
plotVolcano(
obj,
FCParams,
showLegend = TRUE,
averageFunc = mean,
normalized = FALSE,
col = NULL,
pch = 19,
...
)
## S4 method for signature 'featureGroups'
plotGraph(obj, onlyPresent = TRUE, width = NULL, height = NULL)
## S4 method for signature 'featureGroupsSet'
plotGraph(obj, onlyPresent = TRUE, set, ...)
colourBy |
Sets the automatic colour selection: |
onlyUnique |
If |
retMin |
Plot retention time in minutes (instead of seconds). |
showLegend |
Plot a legend if |
col |
Colour(s) used. If |
pch , type , lty |
Common plotting parameters passed to e.g. |
... |
passed to |
obj , x |
|
average |
If For |
xnames |
Plot analysis (or replicate group if |
plotArgs , linesArgs |
A |
sets |
\setsWF For For |
addSelfLinks |
If |
addRetMzPlots |
Set to |
outerGroups |
Character vector of names to be used as outer groups. The
values in the specified vector should be named by analysis names
( |
addIntraOuterGroupLinks |
If |
analysis , groupName |
|
showPeakArea |
Set to |
showFGroupRect |
Set to |
title |
Character string used for title of the plot. If |
annotate |
If set to |
intMax |
Method used to determine the maximum intensity plot limit. Should be |
EICParams |
A named |
showProgress |
if set to |
xlim , ylim |
Sets the plot size limits used by
|
EICs |
Internal parameter for now and should be kept at |
which |
A character vector with replicate groups used for comparison. Set to For |
nsets , nintersects |
See |
FCParams |
A parameter list to calculate Fold change data. See |
averageFunc , normalized |
Used for intensity data treatment, see the documentation for the
|
onlyPresent |
Only plot feature groups of internal standards that are still present in the |
width , height |
Passed to |
set |
\setsWF The set for which data must be plotted. |
plot
Generates an m/z vs retention time
plot for all featue groups. Optionally highlights unique/overlapping
presence amongst replicate groups.
plotInt
Generates a line plot for the (averaged) intensity of feature groups within all analyses
plotChord
Generates a chord diagram which can be used to
visualize shared presence of feature groups between analyses or replicate
groups. In addition, analyses/replicates sharing similar properties
(e.g. location, age, type) may be grouped to enhance visualization
between these 'outer groups'.
plotChroms
Plots extracted ion chromatograms (EICs) of feature groups.
plotVenn
plots a Venn diagram (using VennDiagram) outlining unique and shared feature
groups between up to five replicate groups.
plotUpSet
plots an UpSet diagram (using the upset
function) outlining unique
and shared feature groups between given replicate groups.
plotVolcano
Plots Fold change data in a 'Volcano plot'.
plotGraph
generates an interactive network plot which is used to explore internal standard (IS)
assignments to each feature group. This requires the availability of IS assignments, see the documentation for
normInts
for details. The graph is rendered with visNetwork.
plotVenn
(invisibly) returns a list with the following fields:
gList
the gList
object that was returned by
the utilized VennDiagram plotting function.
areas
The total area for each plotted group.
intersectionCounts
The number of intersections between groups.
The order for the areas
and intersectionCounts
fields is the same as the parameter order
from the used plotting function (see e.g. draw.pairwise.venn
and
draw.triple.venn
).
plotGraph
returns the result of visNetwork
.
plotVenn
and plotInt
allow to handle data per set. See the sets
argument description.
plotGraph
only plots data per set, and requires the set
argument to be set.
Rick Helmus <r.helmus@uva.nl> and Ricardo Cunha <cunha@iuta.de> (plotTICs
and
plotBPCs
functions)
circlize1
\insertRefConway2017patRoon
\insertRefLex2014patRoon
featureGroups-class
, groupFeatures
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.