Git Product home page Git Product logo

cmonkey's Introduction

If you came here looking for the cMonkey R package, you're at the right place.

Note this R package is now superceded by a new python version of cMonkey, called cMonkey2.


To install (in R):

install.packages('devtools', dep=T)
require(devtools)
install_github('cmonkey', 'djreiss', subdir='cMonkey')

To install the data (or bigdata) packages:

install_github('cmonkey', 'djreiss, subdir='cMonkey.data')
install_github('cmonkey', 'djreiss, subdir='cMonkey.bigdata')

... and then go here

http://djreiss.github.io/cMonkey

for some additional documentation.


If you want to run cMonkey from raw R scripts, you've come to the right place. All of the R files that are directly part of the cMonkey package are in the Rcode directory. (Note this code has been preprocessed to remove all of my testing and experimental functions.) The original files that contain my un-pre-processed, experimental code is in the ORIGINAL directory.

So, you can run cMonkey locally (without the package), after doing the following (in R):

for ( f in list.files( "Rcode", full=T ) ) source( f, chdir=T )

## And This is only necessary if you don't have the 'progs/' dir in your current dir (and will only work if
##     you have previously installed the cMonkey package):
progs.dir <- sprintf( "%s/progs/", system.file( package="cMonkey" ) )

cmonkey( ... ) ## run as you would if you had loaded the cMonkey package

## or:

e <- cMonkey.init(...); cmonkey( e, ..., dont.init=T )

## will work as well.

Visit http://djreiss.github.io/cMonkey for more instructions on using the package for your organism.

cmonkey's People

Contributors

djreiss avatar dreiss-isb avatar sdanzige avatar

Stargazers

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

Watchers

 avatar  avatar

cmonkey's Issues

plotting.R

670th line of plotting.R code gives error:
wrong sign in 'by' argument

whenever the maxlen (motif.upstream.search) is not equal to 100.

Install failed (?)

I'm on a mac, using Rstudio and R v3.03, and get the following error after I run install_github('cmonkey', 'dreiss-isb', subdir='cMonkey').

I'm not sure if this falls under the " NOTE while the package will install correctly, it generates warnings during installation.", or a failure.

install_github('cmonkey', 'dreiss-isb', subdir='cMonkey.data')
Installing github repo cmonkey/master from dreiss-isb
Downloading master.zip from https://github.com/dreiss-isb/cmonkey/archive/master.zip
Installing package from /var/folders/ly/7_w1cnfd0v7g9d5_ln6xtrgrgrxbh5/T//Rtmp8laKxb/master.zip
arguments 'minimized' and 'invisible' are for Windows only
Installing cMonkey.data
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD
INSTALL
'/private/var/folders/ly/7_w1cnfd0v7g9d5_ln6xtrgrgrxbh5/T/Rtmp8laKxb/devtools21f59594b58/cMonkey-master/cMonkey.data'
--library='/home/bheavner/Library/R/3.0/library' --install-tests

  • installing source package 'cMonkey.data' ...
    ** R
    ** data
    ** preparing package for lazy loading
    ** help
    *** installing help indices
    ** building package indices
    ** testing if installed package can be loaded
    Error in parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE) :
    1:1: unexpected $end
    Error : unable to load R code in package 'cMonkey.data'
    Error: loading failed
    Execution halted
    ERROR: loading failed
  • removing '/home/bheavner/Library/R/3.0/library/cMonkey.data'
    Error: Command failed (1)

version
_
platform x86_64-apple-darwin10.8.0
arch x86_64
os darwin10.8.0
system x86_64, darwin10.8.0
status
major 3
minor 0.3
year 2014
month 03
day 06
svn rev 65126
language R
version.string R version 3.0.3 (2014-03-06)
nickname Warm Puppy

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.