Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to export graph from cytoscape to JSON?

Received: by 10.224.223.14 with SMTP id ii14mr12043709qab.3.1351278884140;
        Fri, 26 Oct 2012 12:14:44 -0700 (PDT)
X-BeenThere: cytoscape-discuss@googlegroups.com
Received: by 10.229.171.224 with SMTP id i32ls4265439qcz.8.gmail; Fri, 26 Oct
 2012 12:14:40 -0700 (PDT)
Received: by 10.224.219.144 with SMTP id hu16mr1909478qab.1.1351278879995;
        Fri, 26 Oct 2012 12:14:39 -0700 (PDT)
Received: by 10.224.219.144 with SMTP id hu16mr1909477qab.1.1351278879963;
        Fri, 26 Oct 2012 12:14:39 -0700 (PDT)
Return-Path: <kei...@gmail.com>
Received: from mail-qc0-f170.google.com (mail-qc0-f170.google.com [209.85.216.170])
        by gmr-mx.google.com with ESMTPS id x31si351154qco.0.2012.10.26.12.14.39
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 26 Oct 2012 12:14:39 -0700 (PDT)
Received-SPF: pass (google.com: domain of kei...@gmail.com designates 209.85.216.170 as permitted sender) client-ip=209.85.216.170;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of kei...@gmail.com designates 209.85.216.170 as permitted sender) smtp.mail=kei...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-qc0-f170.google.com with SMTP id d42so3157600qca.1
        for <cytoscape-discuss@googlegroups.com>; Fri, 26 Oct 2012 12:14:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=yIK15bzHErIdPbmvDWYM9APMSqc4GX7yFP78a8cnoc4=;
        b=b+wKkORoctZVsjEvU6nO9FTAC+/hsPPl2gUDLKfQ74pSjnNoL/JvrbCg+gAsLrs1mz
         0yKfZlCfgYoJt+pR4Bg121jTdm8asY8/MsaFw6D/hqmuTaeVe2Q2aDTRpd8ZtTSgDzyw
         bWlHysavuQFHmcJCPuFZdSMAFVTwC8oYXaUyVVL6eYRBw2U0lpQojQwqQPENdnvMvjnl
         daUM+b7o2ik0WY4gP6ifEHa5ylxmzErtimWGV69F1gfn4hFdV9B3QU7aOKdgh6uYZnew
         RBqfPxKLJlKRhKi8u+llPk8esDzfKRAYjkypDrXH8GzomjA6i+Kr7OkTnj2aDqLhAHuk
         awYg==
MIME-Version: 1.0
Received: by 10.49.87.230 with SMTP id bb6mr15043398qeb.18.1351278879843; Fri,
 26 Oct 2012 12:14:39 -0700 (PDT)
Received: by 10.49.0.5 with HTTP; Fri, 26 Oct 2012 12:14:39 -0700 (PDT)
In-Reply-To: <0EC7E185C165498E82E8C49539577...@gmail.com>
References: <93beb916-f7ad-484f-9e99-3ff86a3a45d1@googlegroups.com>
	<2417e4be-1f9e-43e9-a0c6-d4a55ec32a66@googlegroups.com>
	<0EC7E185C165498E82E8C49539577...@gmail.com>
Date: Fri, 26 Oct 2012 12:14:39 -0700
Message-ID: <CAOWxDUdy_MiK11t-c5vJp6xuZJL81C6R7QfMb9kmk6L8Xn+...@mail.gmail.com>
Subject: Re: [Cytoscape-discuss] Re: How to export graph from cytoscape to JSON?
From: Keiichiro Ono <kei...@gmail.com>
To: cytoscape-discuss@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1

Hi everyone.

One of my students is working on project related to this topic.

https://github.com/idekerlab/cyto-bridge/tree/develop

Currently, his code is pushing igraph's "graph" data structure from R
as JSON.  And he've just started to work on the opposite direction:
send CyNetwork and CyTables in JSON (GraphSON) via HTTP.

https://github.com/tinkerpop/blueprints/wiki/GraphSON-Reader-and-Writer-Library

This is for Cytoscape 3, but some sort of prototype will be available
by the end of this quarter.

Thanks,
Kei

2012/10/26 Max Franz <maxkfr...@gmail.com>:
> Though I definitely agree it would be great to have more collaborators on
> Cytoscape -- as Alex has mentioned -- here is an alternative that may help
> guide you if you need to do this quickly:
>
> Export the networks in a simple-to-parse format, like SIF.
> In your JavaScript code, parse the exported networks -- creating a resultant
> JavaScript object for each one that can be read in by d3.js, Cytoscape.js,
> or similar.
>
> All the best,
> Max
>
> On Thursday, 25 October 2012 at 13:08, Alexander Pico wrote:
>
> Hi Peter,
>
> It's still on the to-do list. That GSoC project hasn't been picked up yet.
> It's available as a mentored project year-round through our NRNB Academy
> program if you (or anyone else) is interested in taking it on:
>
> http://nrnb.org/academy
>
> One of the main reasons it's on our list is for better communication from
> cytoscape to cytoscape.js, you're right. But as far as I know, it hasn't
> been implemented yet.
>
>  - Alex
>
>
> On Thursday, October 18, 2012 1:45:17 PM UTC-7, Peter wrote:
>
> Dear cytoscape-discuss,
>
> I am trying to help my biologist friend make d3.js visualizations from
> cytoscape network data.
> What's the easiest way to get the network into JSON ?
>
> I'm a bit surprised this information is hard to find: don't the cytoscape.js
> use JSON??
>
> A JSON export plugin was proposed for google Summer of Code 2012, but I
> dunno if it went anywhere:
> https://groups.google.com/d/topic/cytoscape-discuss/J-z3IHHpCto/discussion
>
> Do I do it with a javascript plugin:
> http://wiki.cytoscape.org/ScriptingPlugins#Accessing_Cytoscape_Objects
>
> Help?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "cytoscape-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/cytoscape-discuss/-/kmxlrLZCow8J.
> To post to this group, send email to cytoscape-discuss@googlegroups.com.
> To unsubscribe from this group, send email to
> cytoscape-discuss+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cytoscape-discuss?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "cytoscape-discuss" group.
> To post to this group, send email to cytoscape-discuss@googlegroups.com.
> To unsubscribe from this group, send email to
> cytoscape-discuss+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cytoscape-discuss?hl=en.



-- 
Keiichiro Ono    http://www.keiono.net/