Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GohtaAihara committed May 15, 2024
1 parent e493dc4 commit 356aa8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions data-raw/merfish_mousePOA.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ library(SpatialExperiment)
library(Matrix)
library(ggplot2)
library(gridExtra)
library(here)

data <- read.csv('~/Downloads/Moffitt_and_Bambah-Mukku_et_al_merfish_all_cells.csv')

Expand All @@ -17,7 +16,7 @@ data_sub <- data[(data$Animal_ID == animal & data$Animal_sex == sex & data$Behav
dim(data_sub)

## save subsetted data for vignettes
saveRDS(data_sub, file = here("vignettes/merfish_mousePOA_raw.RDS"))
saveRDS(data_sub, file = "vignettes/merfish_mousePOA_raw.RDS")

## genes-by-cells matrix
# extract the genes-by-cells matrix as a sparse matrix (dgCMatrix)
Expand Down
3 changes: 1 addition & 2 deletions vignettes/formatting-SpatialExperiment-for-SEraster.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ In the original work, [Moffitt J. and Bambah-Mukku D. et al. (2018), "Molecular,
library(SpatialExperiment)
library(Matrix)
library(ggplot2)
library(here)
```

## Load the subsetted dataset

```{r}
data_sub <- readRDS(file = here("vignettes/merfish_mousePOA_raw.RDS"))
data_sub <- readRDS(file = "merfish_mousePOA_raw.RDS")
dim(data_sub)
```

Expand Down

0 comments on commit 356aa8b

Please sign in to comment.