Description Usage Arguments Author(s) Examples
Contour Lines for cyto_plot - list Method
1 2 3 4 | ## S4 method for signature 'list'
cyto_plot_contour(x, channels, contour_lines = 15,
contour_line_type = 1, contour_line_width = 1,
contour_line_col = "black")
|
x |
a list of |
channels |
channels used to construct the existing cyto_plot. |
contour_lines |
numeric indicating the number of levels to use for contour lines, set to 15 by default. |
contour_line_type |
type of line to use for contour lines, set to 1 by default. |
contour_line_width |
line width for contour lines, set to 2 by default. |
contour_line_col |
colour to use for contour lines, set to "black" by default. |
Dillon Hammill, Dillon.Hammill@anu.edu.au
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | library(CytoRSuiteData)
# Load in Samples
fs <- Activation
# Apply compensation
fs <- compensate(fs, fs[[1]]@description$SPILL)
# Transform fluorescent channels
trans <- estimateLogicle(fs[[4]], cyto_fluor_channels(fs))
fs <- transform(fs, trans)
# Plot
cyto_plot(fs,
channels = c("Alexa Fluor 488-A", "Alexa Fluor 700-A"),
group_by = "all", axes_trans = trans
)
# Contour lines for control sample
cyto_plot_contour(list(fs[[1]], fs[[2]], fs[[3]], fs[[4]]),
channels = c("Alexa Fluor 488-A", "Alexa Fluor 700-A"),
contour_lines = c(20, 0, 0, 0)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.