Comments (3)
I am dealing with single cell seurat object, using umap as reduction method with the codes as below:
combined.integrated <- RunUMAP(combined.integrated, dims = 1:30)
combined.integrated <- FindNeighbors(combined.integrated, reduction = "umap", dims = 1:2)
combined.int.clustree <- FindClusters(
object = combined.integrated,
method = "igraph",
resolution = c(0.1, 0.2, 0.3, 0.4, 0.5, 0.6)
)
[email protected] [1:3, ]
orig.ident nCount_RNA nFeature_RNA Sex age sampID
01_38_AAACCCACAGTGTACT-1 PD 1696 1010 Female 80 01_38
01_38_AAACCCAGTTGGGATG-1 PD 12040 3389 Female 80 01_38
01_38_AAACCCATCCAGCACG-1 PD 2839 1540 Female 80 01_38
percent.mt PMI nCount_SCT nFeature_SCT predicted.id
01_38_AAACCCACAGTGTACT-1 4.126625 7.5 3471 1047 Oligo
01_38_AAACCCAGTTGGGATG-1 1.978344 7.5 4514 2214 Oligo
01_38_AAACCCATCCAGCACG-1 6.519592 7.5 3513 1539 Oligo
prediction.score.Inh prediction.score.Exc
01_38_AAACCCACAGTGTACT-1 0 0
01_38_AAACCCAGTTGGGATG-1 0 0
01_38_AAACCCATCCAGCACG-1 0 0
prediction.score.Oligo prediction.score.Astro
01_38_AAACCCACAGTGTACT-1 1 0
01_38_AAACCCAGTTGGGATG-1 1 0
01_38_AAACCCATCCAGCACG-1 1 0
prediction.score.Micro prediction.score.OPC
01_38_AAACCCACAGTGTACT-1 0 0
01_38_AAACCCAGTTGGGATG-1 0 0
01_38_AAACCCATCCAGCACG-1 0 0
prediction.score.Endo prediction.score.VLMC
01_38_AAACCCACAGTGTACT-1 0 0
01_38_AAACCCAGTTGGGATG-1 0 0
01_38_AAACCCATCCAGCACG-1 0 0
prediction.score.max adjusted.prediction.score.max
01_38_AAACCCACAGTGTACT-1 1 1
01_38_AAACCCAGTTGGGATG-1 1 1
01_38_AAACCCATCCAGCACG-1 1 1
integrated_snn_res.0.1 integrated_snn_res.0.2
01_38_AAACCCACAGTGTACT-1 0 10
01_38_AAACCCAGTTGGGATG-1 3 15
01_38_AAACCCATCCAGCACG-1 2 9
integrated_snn_res.0.3 integrated_snn_res.0.4
01_38_AAACCCACAGTGTACT-1 1 36
01_38_AAACCCAGTTGGGATG-1 5 39
01_38_AAACCCATCCAGCACG-1 11 13
integrated_snn_res.0.5 integrated_snn_res.0.6
01_38_AAACCCACAGTGTACT-1 13 6
01_38_AAACCCAGTTGGGATG-1 2 36
01_38_AAACCCATCCAGCACG-1 9 9
seurat_clusters
01_38_AAACCCACAGTGTACT-1 6
01_38_AAACCCAGTTGGGATG-1 36
01_38_AAACCCATCCAGCACG-1 9
cluster_tree <- clustree(combined.int.clustree,prefix = "integrated_snn_res.")
all the steps worked except for the last one 'clustree(combined.int.clustree,prefix = "integrated_snn_res.")'
the error is
"Error in try_fetch(utils::getFromNamespace(algorithm, "igraph"), error = function(cnd) { :
could not find function "try_fetch" "
thank you.
from clustree.
Hi @MANZHAOHUI
This looks like a problem with your installation of the {igraph} package. I found try re-installing that and seeing if that helps. If not you may have to ask the package developers, I don't think this is an issue with {clustree}.
from clustree.
thank you.
from clustree.
Related Issues (20)
- Node text alignment HOT 2
- Interpretation of cluster results HOT 1
- Release clustree 0.4.4
- Filtering nodes in the clustering graph HOT 2
- Allow plotting nodes as pie charts HOT 4
- Rotate node labels HOT 3
- Release clustree 0.5.0
- Error in check.length(gparname) : 'gpar' element 'lwd' must not be length 0 HOT 20
- Error in `dplyr::select()`: ! <text>:1:5: unexpected symbol HOT 8
- Error in check.length(gparname) : 'gpar' element 'lwd' must not be length 0 HOT 3
- Error for Seurat - gpar' element 'lwd' must not be length 0 HOT 1
- Problem using clustree with a Seurat object HOT 6
- Error in `geom_edge_link()` Problem while converting geom to grob. HOT 2
- Clustree not accurate HOT 4
- Error: Less than two column names matched the prefix: SCT_snn_res. HOT 1
- Adding node specific labels HOT 2
- Is there a way to label edges? HOT 1
- Prepare for upcoming Seurat v5 release HOT 5
- The X portion of your clustering column names could not be converted to a number. Please check that your prefix and suffix are correct HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clustree.