microbiome / bluster Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ltla/bluster
Clone of the Bioconductor repository for the bluster package.
Home Page: https://bioconductor.org/packages/devel/bioc/html/bluster.html
This project forked from ltla/bluster
Clone of the Bioconductor repository for the bluster package.
Home Page: https://bioconductor.org/packages/devel/bioc/html/bluster.html
As of now, the HclustParam
class, has 2 slots (metric
and dist.fun
) that are distance related. These slots are used in
show
method.clusterRows
method, where the slots are used to call dist.fun
with the metric
parameter.The idea of this abstract class would be to have these two slots so that none of the classes that inherits from it would have to declare them. This class would also handle the show
method so that the sub-classes don't have to. It could have a constructor that handles the slots (if a slot is NULL
: call standard `dist``). Finally, this class could have a method that gives the distance matrix.
Here is a little diagram to illustrate the concept.
The drawback of this idea is that the inheriting classes need to use the distance matrices. And I haven't found another class in bluster that uses it. At start, I thought this could help improve the maintainability of the code, but if we can't find other clustering method that use this, it may be of no use.
So as a sum up this class would be useful to any class that uses a distance matrix. The idea would be that these classes would inherit from the abstract class but maybe there are other possibilities.
What do you think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.