cyto_plot_profile-flowSet-method: Plot Expression Profile in All Fluorescent Channels - flowSet...

Description Usage Arguments Author(s) See Also Examples

Description

Plot Expression Profile in All Fluorescent Channels - flowSet Method

Usage

1
2
3
4
## S4 method for signature 'flowSet'
cyto_plot_profile(x, channels = NULL,
  group_by = FALSE, axes_trans = NULL, title = NA,
  density_stack = 0.5, ...)

Arguments

x

object of class flowSet.

channels

a vector channels to use to construct the plots, set to all channels by default.

group_by

a vector of pData variables to sort and merge samples into groups, set to FALSE by default to prevent merging. To merge all samples set this argument to "all".

axes_trans

object of class transformList or transformerList generated by estimateLogicle which was used to transform the fluorescent channels of the supplied flowFrame. This transform object will be used internally to ensure axes labels of the plot are appropriately transformed. The transform object will NOT be applied to the flowFrame internally and should be applied to the flowFrame prior to plotting.

title

a title for the plots, set to the file name of x by default.

density_stack

numeric [0,1] indicating the degree of offset for overlaid populations, set to 0.5 by default.

...

additional arguments passed to cyto_plot,flowFrame-method.

Author(s)

Dillon Hammill (Dillon.Hammill@anu.edu.au)

See Also

cyto_plot,flowFrame-method

cyto_plot_profile,flowFrame-method

cyto_plot_profile,GatingSet-method

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
library(CytoRSuiteData)

# Load in samples
fs <- Activation
gs <- GatingSet(fs)

# Apply compensation
gs <- compensate(gs, fs[[1]]@description$SPILL)

# Transform fluorescent channels
trans <- estimateLogicle(gs[[4]], cyto_fluor_channels(gs))
gs <- transform(gs, trans)

# Gate using gate_draw
gt <- Activation_gatingTemplate
gating(gt, gs)

# Plot expression profile in all channels
cyto_plot_profile(getData(gs, "T Cells"),
  axes_trans = trans
)

DillonHammill/cytoSuite documentation built on March 7, 2019, 10:09 a.m.