Skip to content

Commit

Permalink
Library controls look essentially identical to the .Expt file for the…
Browse files Browse the repository at this point in the history
… Spillovers.
  • Loading branch information
DavidRach committed Jan 12, 2025
1 parent d6f2d38 commit e4ebdb3
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
40 changes: 40 additions & 0 deletions AllUsersLibrary/AllUsersLibrary.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
title: "All Users Library Reference Controls"
---

```{r}
#| code-fold: true
#| warning: false
#| message: false
library(purrr)
library(dplyr)
library(Luciernaga)
library(htmltools)
```

```{r}
#| code-fold: true
path <- file.path("G:", "5L_Library")
files <- list.files(path, full.names = TRUE)
LibraryControls <- map(.x=files, .f=QC_LibraryParse, returntype="data")
Data <- bind_rows(LibraryControls)
FluorophoreList <- Data %>% pull(Fluorophore) %>% unique()
FluorophoreList <- FluorophoreList[!grepl("Negative", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("stained", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("STAINED", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("omato", FluorophoreList)]
Plots <- map(.x=FluorophoreList, .f=Luciernaga:::LibraryPlotWrapper, data=Data, myfactor="Sample", animate=TRUE)
l <- htmltools::tagList()
for(i in seq_along(Plots)) {
l[[i]] <- tagList(Plots[[i]])
}
```

```{r}
#| code-fold: true
l
```
47 changes: 47 additions & 0 deletions AllUsersLibrary/AllUsersLibrary3L.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: "All Users Library 3L Reference Controls"
---

```{r}
#| code-fold: true
#| warning: false
#| message: false
library(purrr)
library(dplyr)
library(Luciernaga)
library(htmltools)
```

```{r}
#| code-fold: true
path <- file.path("G:", "3L_Library")
files <- list.files(path, full.names = TRUE)
LibraryControls <- map(.x=files, .f=QC_LibraryParse, returntype="data")
LibraryControls <- LibraryControls[sapply(LibraryControls, ncol) == 42]
Data <- bind_rows(LibraryControls)
FluorophoreList <- Data %>% pull(Fluorophore) %>% unique()
FluorophoreList <- FluorophoreList[!grepl("Negative", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("stained", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("STAINED", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("omato", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("eads", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("ito", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("nstain", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("egative", FluorophoreList)]
FluorophoreList <- FluorophoreList[!grepl("UNSTAIN", FluorophoreList)]
Plots <- map(.x=FluorophoreList, .f=Luciernaga:::LibraryPlotWrapper, data=Data, myfactor="DateTime", animate=TRUE)
l <- htmltools::tagList()
for(i in seq_along(Plots)) {
l[[i]] <- tagList(Plots[[i]])
}
```

```{r}
#| code-fold: true
l
```

0 comments on commit e4ebdb3

Please sign in to comment.