In this vignette, we provide a walkthrough analysis of a lentiviral barcoding study of dendritic cells as described in: \href{https://github.com/TeamPerie/HadjAbed-et-al._2022}{HadjAbed et al. 2022}. Specifically, we wish to assess if a single MPP4 can produce both the cDC1 and the cDC2 subsets in the lung or whether a single MPP4 is fate-restricted to only produce cDC1 or cDCs.
To address this research question, we used a lentiviral barcoding approach focusing on the differentiation of (Lin-, Sca-1+, cKit+, Flt3+) MPP4s towards lung-resident cDCs. Murine MPP4s were purified from the bone marrow of donor mice by fluorescence activated cell sorting and infected with the LG2.2 lentiviral barcoding library. Labelled cells where then injected I.V into 3 irradiated recipient mice. 14 days later, lungs were isolated from the mice, and barcoded cDC1s, and cDC2s were purified by FACS. Samples were then processed for barcode detection in genomic DNA by deep sequencing.
library(devtools) devtools::install_github("TeamPerie/CellDestiny", quiet = TRUE) library(CellDestiny) library(ggplot2)
# set working directory setwd(getwd()) # import files count_matrix <- read.csv("../../testData/LentiviralBarcodingData/QC_data/QC_duplicate_matrix_Mouse_Lung_cDCs.csv.gz") metadata <- read.csv("../../testData/LentiviralBarcodingData/QC_data/QC_duplicate_matrix_Mouse_Lung_cDCs_metadata.csv.gz") metadata
# Common parameters dup_var="duplicates" dup_val=metadata$duplicates
qc_mat<-ReformatQCmatrix(count_matrix, metadata, dup_var, dup_val, sampleNameFieldsep = "_", transformation = "arcsin") # Here, sampleNameFieldsep and transformation parameters are set to default # ones. # The transformation is applied to duplicat columns and saved in trans_dup1 and # trans_dup2 column names as follow. head(qc_mat)
The integration of the same barcode into multiple cells, called repeat usage, is also an important QC metric that should be considered in a lineage tracing analysis pipeline, as a high incidence of repeat usage may lead to false lineage relationship assignments. The transfer of progenitors from the same transduction batch into at least two separate mice, followed by subsequent comparison of the barcodes recovered from those mice, can be used to estimate the frequency of repeat barcode use within one mouse.
# parameter describing our cell types list_var = c("type") list_val = metadata$type dup_mat<-MakeDuplicatesMatrix(matrix = qc_mat, listVar = list_var, listVal = list_val, metadata = metadata) PlotDuplicates(dup_mat, dup_val, transformation = "arcsin")
# parameter describing our cell types list_var = c("type") list_val = metadata$type #parameters indiv_var="mouse" indiv_val=metadata$mouse ru_mat<-MakeRepeatUseMatrix(qc_mat, indiv_var, indiv_val) PlotRepeatUse(ru_mat, indiv_var,textSize = 12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.