You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two unresolved questions and would appreciate your guidance.
Firstly, I noticed that the FeatureHeatmap generates a heatmap with a very small number of genes. As you can see, I obtained 1043 DEGs. Has any adjustment been made in FeatureHeatmap? How can I address this issue?
Secondly, every time I run the RunDEtest function, the output displays a warning message: "Warning in serialize(data, node$con): 'package:stats' may be unused when loaded." What could be the reason for this warning? Is it related to my Windows system? Does it affect the program's speed?
Thank you very much for your response.
Sophia
pancreas_sub <- RunDEtest(srt = myseuratobject, group_by = "treatment",fc.threshold = 1,only.pos = FALSE,assay = 'RNA',max.cells.per.ident=1000)
[2024-04-09 19:07:10.323806] Start DEtest
Workers: 22
Find all markers(wilcox) among 2 groups...
| | 0%Warning in serialize(data, node$con) : 载入时'package:stats'可能无用
Warning in serialize(data, node$con) : 载入时'package:stats'可能无用
|==============================================================================================================================================| 100%
[2024-04-09 19:08:38.379661] DEtest done
Elapsed time:1.47 mins
> DEGs <- pancreas_sub@tools$DEtest_treatment$AllMarkers_wilcox
> dim(DEGs)
[1] 13974 10
> DEGs <- DEGs[with(DEGs, avg_log2FC > 0.25 & p_val_adj < 0.05), ]
> dim(DEGs)
[1] 1043 10
> table(DEGs$group1)
CKO WT
265 778
> # Annotate features with transcription factors and surface proteins
> pancreas_sub <- AnnotateFeatures(pancreas_sub, species = "Mus_musculus", db = c("TF", "CSPA"))
Species: Mus_musculus
Loading cached db: TF version:AnimalTFDB3 nterm:2 created:2024-04-09 16:37:37.202842
Loading cached db: CSPA version:CSPA nterm:1 created:2024-04-09 16:37:41.725707
> ht <- FeatureHeatmap(
+ srt = pancreas_sub, group.by = "treatment", features = DEGs$gene, feature_split = DEGs$group1,
+ species = "Mus_musculus", db = c("GO_BP", "KEGG", "WikiPathway"), anno_terms = TRUE,
+ feature_annotation = c("TF", "CSPA"), feature_annotation_palcolor = list(c("gold", "steelblue"), c("forestgreen")),
+ height = 5, width = 4, assay = 'RNA'
+ )
Warning in FeatureHeatmap(srt = pancreas_sub, group.by = "treatment", features = DEGs$gene, :
The values in the 'counts' slot are non-integer. Set the library size to 1.
[2024-04-09 19:08:40.628809] Start Enrichment
Workers: 22
Species: Mus_musculus
Loading cached db: GO_BP version:3.18.0 nterm:15848 created:2024-04-09 16:45:42.519015
Loading cached db: KEGG version:Release 110.0+/04-09, Apr 24 nterm:355 created:2024-04-09 16:46:53.291743
Loading cached db: WikiPathway version:20240310 nterm:202 created:2024-04-09 16:47:50.634595
Permform enrichment...
| | 0%Warning in serialize(data, node$con) : 载入时'package:stats'可能无用
Warning in serialize(data, node$con) : 载入时'package:stats'可能无用
Warning in serialize(data, node$con) : 载入时'package:stats'可能无用
Warning in serialize(data, node$con) : 载入时'package:stats'可能无用
Warning in serialize(data, node$con) : 载入时'package:stats'可能无用
Warning in serialize(data, node$con) : 载入时'package:stats'可能无用
|==============================================================================================================================================| 100%
[2024-04-09 19:10:28.48138] Enrichment done
Elapsed time:1.8 mins
> print(ht$plot)
Hello,
I'm not the developer but the FeatureHeatmap function has a parameter that labels a certain number of genes (nlabel) and it's set by default to 20. So only 20 gene names are shown. You can change this parameter and show more gene names
Hello, SCP team,
I have two unresolved questions and would appreciate your guidance.
Firstly, I noticed that the FeatureHeatmap generates a heatmap with a very small number of genes. As you can see, I obtained 1043 DEGs. Has any adjustment been made in FeatureHeatmap? How can I address this issue?
Secondly, every time I run the RunDEtest function, the output displays a warning message: "Warning in serialize(data, node$con): 'package:stats' may be unused when loaded." What could be the reason for this warning? Is it related to my Windows system? Does it affect the program's speed?
Thank you very much for your response.
Sophia
The text was updated successfully, but these errors were encountered: