single cell3 [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. [Seurat] [limma] DEG 분석 # limma :# First, limma 분석을 위한 raw counts 데이터 추출counts_data 1.5인 DEG 필터링degs_limma_filtered 1.5, ]nrow(degs_limma_filtered) # 필터링된 DEG 개수 확인head(degs_limma_filtered) # 필터링된 상위 DEGs 확인 2024. 9. 19. [Seurat] [MAST] DEGs 분석 #############MAST, limma, Deseq2# D26과 D54 세포에 대한 정확한 조건 설정seurat_object$stage 1.5, ]head(degs_filtered)# 필터링된 DEG 개수 확인nrow(degs_filtered) 2024. 9. 19. 이전 1 다음