Skip to content

Commit 12480d8

Browse files
committed
CytoNorm incorporation route added to Workflow Vignette, deserves it's own section however.
1 parent 9db1bb9 commit 12480d8

File tree

2 files changed

+37
-6
lines changed

2 files changed

+37
-6
lines changed

R/Coereba_Concatenate.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Coereba_Concatenate <- function(Set, metadata_cols, outpath=NULL, filename="Comb
2121

2222
Coereba_SingleFrame_Reversal <- function(x, metadata_cols){
2323

24-
InternalPD <- pData(CoerebaGS)
24+
InternalPD <- pData(x)
2525
TheMetadata <- InternalPD |> select(all_of(metadata_cols))
2626
row.names(TheMetadata) <- NULL
2727
CoerebaCS <- gs_pop_get_data(x)

vignettes/Workflow.qmd

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -785,10 +785,39 @@ filename <- paste0(Population, "_Norm_ND006")
785785
Utility_RidgePlots(gs=NormedND, subset="root", TheY="Specimen", TheFill="Experiment", outpath=NormPath, returntype="pdf", filename = filename, therows = 1)
786786
```
787787

788-
### Reverse Biexponential
788+
### Reverse Biexponential?
789+
```{r}
790+
CS2 <- flowSet_to_cytoset(NormalizeAttempt)
791+
CS2 <- GatingSet(CS2)
792+
793+
PostCytoNorm <- Utility_NbyNPlots(x=CS2[4], sample.name=c("GROUPNAME"), experiment="ABs",
794+
condition="DNs", removestrings=".fcs", marginsubset="root", gatesubset="root",
795+
ycolumn="PE-Vio770-A", bins=150, clearance=0.1,
796+
gatelines=FALSE, reference=ShinyGatesSplitpoints2, outpath=StorageLocationForPlotPDF, returntype="patchwork")
797+
798+
PostCytoNorm
799+
```
800+
789801
```{r}
790802
ReversedGS <- transform(NormalizeAttempt, ReverseBiexponential)
791-
ThisWork <- GatingSet(ReversedGS)
803+
```
804+
805+
806+
```{r}
807+
CS3 <- flowSet_to_cytoset(ReversedGS)
808+
CS3 <- GatingSet(CS3)
809+
810+
PostCytoNorm <- Utility_NbyNPlots(x=CS3[4], sample.name=c("GROUPNAME"), experiment="ABs",
811+
condition="DNs", removestrings=".fcs", marginsubset="root", gatesubset="root",
812+
ycolumn="PE-Vio770-A", bins=150, clearance=0.1,
813+
gatelines=FALSE, reference=ShinyGatesSplitpoints2, outpath=StorageLocationForPlotPDF, returntype="patchwork")
814+
815+
PostCytoNorm
816+
```
817+
818+
819+
```{r}
820+
ThisWork <- CS3
792821
```
793822

794823
```{r}
@@ -805,9 +834,11 @@ min(TheCalcs$count)
805834
Goodbye <- Coereba_Concatenate(Set=NormedNotND, metadata_cols=c("Experiment", "Donor"), outpath="C:/Users/12692/Desktop", filename="DidItWork")
806835
```
807836

808-
809-
810-
837+
```{r}
838+
FCSPath <- file.path("C:/Users/12692/Desktop", "DidItWork.fcs")
839+
TheData <- Coereba::Coereba_FCS_Reversal(Coereba=FCSPath)
840+
# View(TheData)
841+
```
811842

812843

813844
# Generating a Summarized Experiment File

0 commit comments

Comments
 (0)