Entering edit mode
4.7 years ago
planetearth
•
0
I'm aligning two groups (old vs young) using this tutorial
The tutorial has the two groups in separate files (control & stim):
ctrl.data <- read.table(file = "../data/immune_control_expression_matrix.txt.gz", sep = "\t")
stim.data <- read.table(file = "../data/immune_stimulated_expression_matrix.txt.gz", sep = "\t")
then set up control object
ctrl <- CreateSeuratObject(counts = ctrl.data, project = "IMMUNE_CTRL", min.cells = 5)
stim <- CreateSeuratObject(counts = stim.data, project = "IMMUNE_STIM", min.cells = 5)
I have a matrix of gene counts (rows) and 3 cell types (columns) gathered from young and old mice.
How can I separate my dataset to create separate Seurat objects for young and old? An example column name is young_MPP_179.
Thanks!