From 356aa8bef554dce011eb72993ba1ac6b682c9065 Mon Sep 17 00:00:00 2001 From: GohtaAihara <32276077+GohtaAihara@users.noreply.github.com> Date: Wed, 15 May 2024 03:25:06 -0400 Subject: [PATCH] update --- data-raw/merfish_mousePOA.R | 3 +-- vignettes/formatting-SpatialExperiment-for-SEraster.Rmd | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/data-raw/merfish_mousePOA.R b/data-raw/merfish_mousePOA.R index 5ca7c1a..1a5f1c5 100644 --- a/data-raw/merfish_mousePOA.R +++ b/data-raw/merfish_mousePOA.R @@ -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') @@ -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) diff --git a/vignettes/formatting-SpatialExperiment-for-SEraster.Rmd b/vignettes/formatting-SpatialExperiment-for-SEraster.Rmd index 9929038..b4255d8 100644 --- a/vignettes/formatting-SpatialExperiment-for-SEraster.Rmd +++ b/vignettes/formatting-SpatialExperiment-for-SEraster.Rmd @@ -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) ```