Skip to content

Elaborate FindMarkers() and AverageExpression() for Seurat v4 #4210

Answered by saketkc
tulikakakati asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

There are a bunch of things happening in your code which do no look correct. If you have three objects to start off with, you can follow these steps before proceeding with integration:

data1 <- Read10X(data.dir = "data1/filtered_feature_bc_matrix")
data2 <- Read10X(data.dir = "data2/filtered_feature_bc_matrix")
data3 <- Read10X(data.dir = "data3/filtered_feature_bc_matrix")

d1 <- CreateSeuratObject(counts = data1, project = "Data1")
d1$disease <- "D1"
d2 <- CreateSeuratObject(counts = data2, project = "Data2")
d2$disease <- "D2"
d3 <- CreateSeuratObject(counts = data3, project = "Data3")
d3$disease <- "D3"
# if you have metadata, you can use `AddMetaData()` instead

dataset.combined <-

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@tulikakakati
Comment options

@saketkc
Comment options

@pabloatria18
Comment options

@saketkc
Comment options

Answer selected by timoast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #4163 on March 11, 2021 20:54.