-
Notifications
You must be signed in to change notification settings - Fork 33
LCA based cluster + code clean up #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a154302
code clean up and trying new tree cluster
Yanay1 40d718f
code clean up and trying new tree cluster
Yanay1 161b1b0
code clean up and trying new tree cluster
Yanay1 682c1d3
code clean up and trying new tree cluster
Yanay1 59828bf
code clean up and trying new tree cluster
Yanay1 37fbca0
code clean up and trying new tree cluster
Yanay1 ef8814e
Added vignettes
Yanay1 a1427c3
updating vignettes
Yanay1 91183ff
updating vignettes
Yanay1 1f077ad
updating vignettes
Yanay1 ca55791
updating namespace
Yanay1 efa0ba2
updating vignettes pathing
Yanay1 ffd1296
updating vignettes
Yanay1 fea62b0
adding spatial data
Yanay1 5a49955
adding embryo data
Yanay1 42d3fd8
adding embryo data
Yanay1 f973b3b
updating main
Yanay1 c9b50bc
updating upper left
Yanay1 d16b718
updating modules
Yanay1 8bbe1ce
updating vision methods and all classes
Yanay1 67b26cb
Updating heatmap
Yanay1 7310ca9
renamed pv.rmd
Yanay1 2aeaa03
updating docs
Yanay1 415283c
updating docs
Yanay1 1ba5a45
updating docs
Yanay1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
Package: VISION | ||
Title: Functional interpretation of single cell RNA-seq latent manifolds | ||
Version: 2.1.0 | ||
Version: 3.0.0 | ||
Authors@R: c(person("Matt", "Jones", email = "[email protected]", role = c("aut", "cre")), | ||
person("David", "Detomaso", email = "[email protected]", role = c("aut", "cre")), | ||
person("Tal", "Ashuach", email = "[email protected]", role = c("aut")), | ||
person("Yanay", "Rosen", email = "[email protected]", role = c("aut")), | ||
person("Nir", "Yosef", email = "[email protected]", role = c("ctb", "cph"))) | ||
Author: Matt Jones [aut, cre], David Detomaso [aut, cre], Tal Ashuach [aut], Nir Yosef [ctb] | ||
Maintainer: Matt Jones <[email protected]> | ||
|
@@ -40,7 +41,7 @@ Encoding: UTF-8 | |
LazyData: true | ||
URL: https://yoseflab.github.io/VISION, https://github.com/yoseflab/VISION | ||
BugReports: https://github.com/YosefLab/VISION/issues | ||
RoxygenNote: 7.1.0 | ||
RoxygenNote: 7.1.1 | ||
Suggests: | ||
Biobase, | ||
BiocStyle, | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's unclear -- why do we have two separate options here?
I propose we populate the KNN before this step and pass it in with the object (either as a slot or as an extra argument). It makes less sense to me to have a boolean argument here specifying the approach because it can cause downstream inconsistencies if another function uses a different approach for computing the KNN graph.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updating docstring to:
#' @param lcaKNN whether to use LCA based KNN (cluster by minimum size), if false defaults to cophenetic distance (random tie breaking).
#' WARNING: lcaKNN doesn't perform well with broad multifurcations
this is if you want to use the lcaKNN where you use all neighbors from clade if clade size > min size. This function is the first time the knn are calculated for the object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This docstring is a lot more clear now!
I'm curious if we don't want to add a new step in the pipeline that just calculates & populates the KNN. That way we can just access this object again if we ever need to get the KNN graph.