tof_set_panel | R Documentation |
Set panel information from a tof_tibble
tof_set_panel(tof_tibble, panel)
tof_tibble |
A 'tof_tbl'. |
panel |
A tibble containing two columns ('metals' and 'antigens') representing the information about a panel |
A 'tof_tibble' containing information about the CyTOF panel that was used during data acquisition for the data contained in the input 'tof_tibble'. Two columns are required: "metals" and "antigens".
Other tof_tbl utilities:
new_tof_tibble()
,
tof_get_panel()
# get current panel from an .fcs file
input_file <- dir(tidytof_example_data("aml"), full.names = TRUE)[[1]]
tof_tibble <- tof_read_data(input_file)
current_panel <- tof_get_panel(tof_tibble)
# create a new panel (remove empty channels)
new_panel <- dplyr::filter(current_panel, antigens != "empty")
tof_set_panel(tof_tibble = tof_tibble, panel = new_panel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.