Skip to content

Commit

Permalink
Update visualization.R functions
Browse files Browse the repository at this point in the history
  • Loading branch information
JinNing329 committed Mar 13, 2024
1 parent 0d731fb commit 5984598
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/Visualization.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ suppressPackageStartupMessages(library("ggplot2"))
suppressPackageStartupMessages(library("ComplexHeatmap"))
suppressPackageStartupMessages(library("circlize"))
data.norm<-GetTDEseqAssayData(obj,'data')
seu<-CreateSeuratObject(data.norm)
seu@assays$RNA@data<-data.norm
seu<-ScaleData(seu)
mat <- GetAssayData(seu,slot = 'scale.data')
mat<-Seurat::ScaleData(data.norm)
metadata <- GetTDEseqAssayData(obj,'meta.data')
res_dat=GetTDEseqAssayData(obj,'tde')
res_dat=res_dat[order(res_dat$pvalue),]
Expand Down

0 comments on commit 5984598

Please sign in to comment.