Giter Site home page Giter Site logo

justinaz / pcareduce Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 11.0 2.88 MB

Code to support: "pcaReduce: hierarchical clustering of single cell transcriptional profiles"

Home Page: https://pubmed.ncbi.nlm.nih.gov/27005807/

R 100.00%
gene-expression hierarchical-clustering k-means-clustering pca-analysis single-cell-rna-seq

pcareduce's Introduction

Depends: R (>= 3.0.1), pcaMethods (>= 1.50.0), mnormt (>= 1.5-1), mclust (>= 4.3)

==================INSTALL (on Mac’s)================================

to install, open terminal and type:
R

then type:
install.packages(<path_to_package>, repos = NULL, type="source")

p.s. this <pathtopackage> must be in “”

load the package by typing

library("pcaReduce")

p.p.s. type ?PCAreduce to see description

=================EXAMPLE===========================================

DATA:
is in Pollen2014.txt, cluster labels and additional information is in SupplementaryLabels.txt

CODE:

pcaReduce_example.R — an example code how to use pcaReduce package

===================================================================

Paper info:
"pcaReduce: hierarchical clustering of single cell transcriptional profiles"
by Justina Žurauskienė, Christopher Yau
DOI: 10.1186/s12859-016-0984-y

===================================================================

J. 

pcareduce's People

Contributors

justinaz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pcareduce's Issues

Installation not working

Hello,

I tried to install the package by downloading the clone and using the following:

install.packages("path to pcaReduce-master folder", repos = NULL, type = "source")

And got the following error:
`During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
ERROR: dependency 'mclust' is not available for package 'pcaReduce'

  • removing '/Library/Frameworks/R.framework/Versions/3.3/Resources/library/pcaReduce'
    Warning in install.packages :
    installation of package '/Users/muadabdelhay/Downloads/pcaReduce-master' had non-zero exit status`

I also tried the same using the path to the R folder in the zip file, it did not work either.

Any idea how I could resolve this issues?

I am on OSX 10.11.6 with the R version 3.3.1 (2016-06-21)

Docker devtools::install_github("JustinaZ/pcaReduce")

I'm building a docker container that installs pcaReduce_1.0. I have attached the files.
docker build --tag blabla:Test -f Dockerfile2 .

I have attached the files with ".txt" added at the end so that they can be uploaded here.
The error has to do with a warning that is converted into error with crashes the docker build.
"Error : (converted from warning) /tmp/.../man/pcaReduce-package.Rd:25: All text must be in a section"

I tried the following as suggested on some web pages, but it does not help
R_REMOTES_NO_ERRORS_FROM_WARNINGS="true"

Dockerfile2.txt
installtest.R.txt

Error : (converted from warning) /tmp/RtmpAnsXlr/R.INSTALLa274c7860c3/pcaReduce/man/pcaReduce-package.Rd:25: All text must be in a section
ERROR: installing Rd objects failed for package ‘pcaReduce’

  • removing ‘/usr/local/lib/R/site-library/pcaReduce’
    Error: Failed to install 'pcaReduce' from GitHub:
    (converted from warning) installation of package ‘/tmp/RtmpFEiRG6/file676c9b6bb/pcaReduce_1.0.tar.gz’ had non-zero exit status
    Execution halted

Which data type for clustering

Hi,

I have a question regarding the type of data that is favorable for inputting to pcaReduce clustering. Can you suggest if the method works better with raw counts or normalized? Is it possible to use with UMI counts?

Best,
Monika

installation error with R 3.6.0

Package was installed successfully on previous R version. With the latest R 3.6.0, I got the following error message:

devtools::install_github("JustinaZ/pcaReduce")
Downloading GitHub repo JustinaZ/pcaReduce@master
Skipping 1 packages not available: pcaMethods
✔ checking for file ‘/private/var/folders/ft/g8jhpzcs1rjfmdll56gkw7x00000gn/T/RtmpEArj3I/remotes36c4304abb41/JustinaZ-pcaReduce-eca48bc/DESCRIPTION’ ...
─ preparing ‘pcaReduce’:
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘pcaReduce_1.0.tar.gz’

  • installing source package ‘pcaReduce’ ...
    ** using staged installation
    ** R
    ** byte-compile and prepare package for lazy loading
    ** help
    Error : (converted from warning) /private/var/folders/ft/g8jhpzcs1rjfmdll56gkw7x00000gn/T/RtmpDTK3Q3/R.INSTALL37172683e18e/pcaReduce/man/pcaReduce-package.Rd:25: All text must be in a section
    ERROR: installing Rd objects failed for package ‘pcaReduce’
  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/pcaReduce’
    Error in i.p(...) :
    (converted from warning) installation of package ‘/var/folders/ft/g8jhpzcs1rjfmdll56gkw7x00000gn/T//RtmpEArj3I/file36c47a4bc12b/pcaReduce_1.0.tar.gz’ had non-zero exit status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.