Closed:Subsetting dataset to create 2 seurat objects
0
0
Entering edit mode
4.7 years ago

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!

R seurat RNA-Seq • 201 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 3426 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6