get_panel: A function to create table of antibodies

Description Usage Arguments Value Examples

View source: R/get_panel.R

Description

This function takes a list of antibodies and returns a table of fluorophores for each antibody that are available in the Ansel lab

Usage

1
get_panel(spreadsheet = NULL, antibodies = NULL)

Arguments

spreadsheet

spreadsheet of antibodies

antibodies

list of antibodies to search for

Value

Table antibodies and the fluorophores available in the Ansel Lab

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
file <- antibodySeek::readData_example(path = "antibodies.csv")
spreadsheet <- readr::read_csv(file, col_names = TRUE)
spreadsheet <- tidyr::gather(spreadsheet,
Fluorophore, 
value, 
-Antibodies)
spreadsheet$Fluorophore <- factor(spreadsheet$Fluorophore,
levels = unique(spreadsheet$Fluorophore))
antibodies <- c("CD3", "CD4", "CD8", "Foxp3")
antibodySeek::get_panel(spreadsheet, antibodies)

jdgagnon/antibodySeek documentation built on May 17, 2019, 12:02 p.m.