DESeq22 [MAST, limma, DESeq2] 공통 DEGs 분석 # MAST, limma, DESeq2에서 추출한 DEG의 rownames (유전자 이름)을 각각 가져옵니다.degs_mast_genes 0), size = 1.5) + scale_color_manual(values = c("blue", "red")) + # 다운레귤레이션(blue), 업레귤레이션(red) theme_minimal() + labs(title = "Volcano Plot of Common DEGs", x = "Log2 (Fold Change)", y = "-log10 (Adjusted P-Value)") + theme(plot.title = element_text(hjust = 0.5))# 업레귤레이션된 유전자up_regulated 0)# 다운레귤레이션된 .. 2024. 9. 19. [Seurat][DESeq2] DEGs 분석 # Deseq2 :# Convert the Seurat object to a DESeq2 dataset# 필요한 패키지 로드if (!requireNamespace("DESeq2", quietly = TRUE)) { install.packages("DESeq2")}library(DESeq2)# Seurat 객체에서 count 데이터 추출 (유전자 x 세포)# 데이터를 정수형으로 변환counts_data 1.5로 필터링# NA 값을 제거하고 FDR 1.5로 필터링degs_deseq2_filtered 1.5, ]# 필터링된 DEG 확인head(degs_deseq2_filtered)# 필터링된 DEG 개수 확인nrow(degs_deseq2_filtered) 2024. 9. 19. 이전 1 다음