Output FindMarkers()
1
0
Entering edit mode
8 months ago
Chris ▴ 260

Hi all,

Would you please share why I got peaks instead of genes when using this command:

compare_0 <- FindMarkers(merged_seurat, ident.1 = 'WT_0', ident.2 = 'MT_0')
head(compare_0)

enter image description here

Thank you so much!

seurat • 986 views
ADD COMMENT
1
Entering edit mode
8 months ago
bk11 ★ 2.4k

Hey, it looks like you are doing scATAC-seq data analysis. Here you are checking for Differentially accessible peaks between cell types.

ADD COMMENT
0
Entering edit mode

enter image description hereHi bk11, I am doing single cell multiome RNA + ATAC but I only read RNA assay into RStudio to analyze first.

ADD REPLY
1
Entering edit mode

You need to change the default assays before running FindMarkers then-

#To find markers in your RNA data slot
DefaultAssay(merged_seurat) <- "RNA"
compare_0 <- FindMarkers(merged_seurat, ident.1 = 'WT_0', ident.2 = 'MT_0')

#To find markers in your ATAC data slot
DefaultAssay(merged_seurat) <- "ATAC"
compare_0 <- FindMarkers(merged_seurat, ident.1 = 'WT_0', ident.2 = 'MT_0')
ADD REPLY
0
Entering edit mode

Unfortunately, it doesn't work as you see the only assay I have in this case is RNA.

ADD REPLY
1
Entering edit mode

Then your upstream steps of FindMarkers are off. I would make sure I read the correct data.

ADD REPLY
0
Entering edit mode

I used Readmtx() to read 3 files: matrix, feature and barcode. The file filtered_feature_bc_matrix.h5 will have ATAC seq assay but I didn't run.

ADD REPLY

Login before adding your answer.

Traffic: 1958 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