R/cyto_plot_profile-methods.R
cyto_plot_profile-flowSet-method.Rd
Plot Expression Profile in All Fluorescent Channels - flowSet Method
# S4 method for flowSet cyto_plot_profile(x, channels = NULL, group_by = FALSE, axes_trans = NULL, title = NA, density_stack = 0.5, ...)
x | object of class |
---|---|
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
|
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
|
#>#>#>#>#># 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 )