Giter VIP home page Giter VIP logo

lassie's Issues

plot.swarmset fails during make.logoplot

Thanks for lassie! I was working through the paper and vignette and found that a few items weren't working for me, so I've made a fork with some possible solutions. I'll submit issues and matching pull requests, so you can have a look and see if you'd like to merge them in.

One problem I had was that plot(eg.swarmset) failed with this error:

Error in paste(c(env, shQuote(command), args), collapse = " ") : 
  promise already under evaluation: recursive default argument reference or earlier problems?

I traced that down to make.logoplot's color_option argument not being specified. It looked to me like the simplest fix was just to provide the option like make.timepoint.logos currently does.

timepoint labels

To sort samples by time-point sequenced, assume the labels are sorted lexicographically.
That is, d10 will be sorted before d5 unless the labels use leading 0s, e.g. d05 and d10.
The sample timepoint is a character value rather than numeric because it is used internally for column naming.

vignette is inconsistent with usage

vignette('lassie') suggests this should work, though it does not. Need to update vignette.

a <- swarmtools(aas_file=alignment_file, tf_loss_cutoff=0:5*20)

Warning message:
In set.tf.loss.cutoff(retval, tf_loss_cutoff) :
ERROR in set.tf.loss.cutoff(): Please provide a single numeric value.

weblogo installation

Need to automate installation of weblogo and ensure it is accessible on arbitrary system configurations.

report.variant.frequencies fails for one-variant case

One more for you - we've found that in alignments where all amino acids at a given site are the same across timepoints but different from the transmitted founder, report.variant.frequencies fails. I think I have a fix so I'll put the details in another pull request.

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.