Questions tagged [ape]

APE is a full-featured open source solution designed for Ajax push. It includes a webserver and a JavaScript framework. APE allows to implement any kind of real-time data streaming to a web browser, without having to install anything on the client-side.

Ajax Push Engine (APE) is a full-featured open source solution designed for Ajax push. It includes a webserver and a JavaScript framework. APE allows to implement any kind of real-time data streaming to a web browser, without having to install anything on the client-side.

APE project: http://www.ape-project.org Related: http://en.wikipedia.org/wiki/Comet_(programming)‎ also: http://ajaxpatterns.org/HTTP_Streaming

102 questions
1
vote
2 answers

How to calculate the group mean for each group in a very large matrix, after subsetting the matrix according to the rows/column names?

So I have a distance matrix of pairwise distances between DNA sequences where the name of each sequence is something identical to ID0001|Species name. The code I used to generate it is the following: library(ape) myseq <- read.dna("sequences.fasta",…
tadeufontes
  • 443
  • 1
  • 3
  • 12
1
vote
1 answer

Comet (Ajax Push) in Godaddy dedicated server?

I want to know if it's possible and I'm looking for tutorials to set it up. APE website says that knowledge of JavaScript programming is sufficent to follow the tutorial however I haven't been able to puzzle even the first 2 lines of the…
lisovaccaro
  • 32,502
  • 98
  • 258
  • 410
1
vote
0 answers

Error ph_pd() form phylocomr package : Error in utils::read.table(text = out, header = TRUE, stringsAsFactors = FALSE) :no lines available in input

I am trying to calculate phylogenetic diversity with ph_pd() from the phylocomr package. I have my phyllo file in nexus format, which is a consensus tree I obtained from a pool of 1000 trees downloaded from bridtree.org and then exported…
scc27
  • 11
  • 2
1
vote
1 answer

How to use ape server with asp.net?

I have a .NET appliation running in my windows machine. I need it to use APE for publishing data to clients in real time. I have a APE server running in a seperate linux machine. My question is , how can i access the remote APE server from my .NET…
CuriousCoder
  • 1,582
  • 5
  • 28
  • 55
1
vote
0 answers

R: root phylogenetic tree 'ape' select outgroup

I have generated a tree and I'm having difficulty rooting it in 'ape', and I am unsure if my method of specifying an outgroup is correct. Here is the species…
zvba010
  • 13
  • 5
1
vote
0 answers

Moving on from a simple IRC server to some other technology

I would like some opinions about one project. Sorry my english, is not my natural language. My current setup: Arduino -> IRC SERVER <-> Clients (PHP and custom software) 1 - Arduinos sends a special crafted string to the IRC server. 2 - IRC…
Filipe YaBa Polido
  • 1,656
  • 1
  • 17
  • 39
1
vote
1 answer

Phylogenetic tree ape too small

I am building a phylogenetic tree using data from NCBI taxonomy. The tree is quite simple, its aims is to show the relationship among a few Arthropods. The problem is the tree looks very small and I can't seem to make its branches longer. I would…
1
vote
0 answers

color node based on category in tanglegram

I am trying to build a tanglegram using dendextra and ggdendro but I can't color nodes based on the category column in tanglegram. Please advise. d1 <- c(1:5) cate <- c("cat1", "cat2", "cat3", "cat1", "cat1") d1 <- data.frame(d1, cate) d2 <-…
KerryLee
  • 373
  • 2
  • 5
  • 13
1
vote
1 answer

cannot load the R package 'ape'

I recently had to install a new hard drive in my laptop, and so am re-installing all of my R packages. I installed R version 3.5.1 and ran the code to install all of the packages I had previously installed. However,when I come to load them,…
Nick Crouch
  • 29
  • 1
  • 4
1
vote
0 answers

Does APE (Ajax Push Engine) require the web browser to be open before it can function?

I have a program that runs in a terminal emulator (Telnet) and I need a way to open websites from it. I've been exploring making an app that listens to a network port for XML from the telnet session and launches whichever website it asks for. Is…
1
vote
2 answers

How to hide some labels in a unrooted tree in R

I am using the R package ape to draw phylogenetic trees. Some of the labels that are displayed are not of direct interest to me (e.g., "CAN", see image below) and some of them overlap (e.g., "B10", "D1" or "D3"). The idea would be to: (1) find a way…
Ogustari
  • 159
  • 9
1
vote
1 answer

does anyone use APE server?

i am trying to figure out how to work with Ape, but there are some things in the chat demo code that i dont understand and cant find nothing about it in the documentation. here is the code: var userlist = new $H; Ape.registerHookCmd("connect",…
nope
  • 1,060
  • 2
  • 15
  • 32
1
vote
2 answers

Coloured lines for tangelgram - package ape function cophyloplot

I am trying to do a phylogenetic comparison of two trees which contain the same taxa. I want to colour the connections based on isolation site. I had thought I had performed this successfully but there is error in my work flow i.e. the coloured…
AudileF
  • 436
  • 2
  • 10
1
vote
1 answer

Problem with POST request from APE server module

I use Ajax Push Engine as push engine and Django for main site. I wrote the server module which must send the request to my Django-based application when new user join the channel by using Http module. My Django-based project runs on the…
korkholeh
  • 41
  • 1
  • 6
1
vote
3 answers

loop over all files in folder in R

I would like to import all files from a folder, convert the files and then export them with the same name, but with a different extension. In my specific case I want to convert 150 nexus files (.nex) to fasta files (.fasta) This is how the code…
PaulH
  • 27
  • 1
  • 4