Tool: PCAtools: everything Principal Components Analysis
11
Entering edit mode
7 months ago
Kevin Blighe 43k
Republic of Ireland

Last update: February 6, 2019

PCAtools was recently accepted to Bioconductor. It's official release will be with Bioconductor 3.9.

ex6-1 ex10-1 ex8-1 ex12-1 ex15-1 ex5-1 ex16-1

installation

To install release version:

if (!requireNamespace('BiocManager', quietly = TRUE))
  install.packages('BiocManager')
BiocManager::install('PCAtools')

To install development version:

devtools::install_github('kevinblighe/PCAtools')

Github

vignettes

ADD COMMENTlink 7 months ago Kevin Blighe 43k • updated 7 months ago prasundutta87 • 330
Entering edit mode
1

Great package..but why does it want only R 3.6..It's not even officially released.

ADD REPLYlink 7 months ago
prasundutta87
• 330
Entering edit mode
1

That is stipulated by Bioconductor. New official release packages require the next version of R and Bioconductor. This is ultimately positive because it ensures that users stay up to date.

If you install via devtools::install_github('kevinblighe/PCAtools'), it should install and run okay.

Sorry about that.

ADD REPLYlink 7 months ago
Kevin Blighe
43k
Entering edit mode
0

Understandable..Thanks a lot Kevin..

ADD REPLYlink 7 months ago
prasundutta87
• 330
Entering edit mode
1

I should add that, upon official release, the R 3.6 requirement will actually be removed. For now, the development version has passed all checks and can be used.

ADD REPLYlink 7 months ago
Kevin Blighe
43k
Entering edit mode
1

One comment I would have is that I think the package should work off simple text files, rather than spending most of the tutorial code that preparing and formats the data to be readable into the package - and this cuts to almost to the philosophy of how Bioconductor packages are usually presented.

Most beginners do not understand what is inside of a pData and in general, one cannot tell unless they first investigate the pData themselves. So when following a tutorial we cannot properly visualize what the input data is.

There should be a movement in the Bioconductor world where every package is demonstrated in terms of "flat" data. The help should start with statements such as: "supppose you have your data in the form":

Name       Cond1         Cond2      Cond3               
GeneA       10             11        20
GeneB       20             22        20
GeneC       30             15        45

Now, what does the package do? How do I read in this file, which everyone has now understood, a file that has an explicit structure and what is the result that we get out of the package At the end of the tutorial, one should list examples of how to "make" the same flat format from a more complex one. But always starting with pData (which itself is a remnant from the dinosaur era) hinders people who would use the package but do not want to need to use a pData format. In addition, simplicity begets simplicity, code and use cases would end up simpler and more generic if the input data were simple.

ADD REPLYlink 7 months ago
Istvan Albert
80k
Entering edit mode
1

Oh, I got caught up with "opinions" and forgot the most important message - great library - we were investigating options for PCA plotting this very morning - very timely and thanks for the work!

ADD REPLYlink 7 months ago
Istvan Albert
80k
Entering edit mode
1

No worries. Indeed, there's nothing else out there for creating bi-plots, etc in R. I'm aware of a commercial solution for PCA that's being used, but it's expensive. Yes, the vignettes could be more user friendly. I start with random data matrices or pre-existing datasets. You may want to take up the other issues with Martin Morgan ;)

ADD REPLYlink 7 months ago
Kevin Blighe
43k
Entering edit mode
0

it looks like lot of people have started using it ..

ADD REPLYlink 5 months ago
krushnach80
• 500
Entering edit mode
0

Are you looking at download metrics? It is still not officially released yet

ADD REPLYlink 5 months ago
Kevin Blighe
43k

Login before adding your answer.

Powered by the version 1.5