Learn R Programming

made4 (version 1.46.0)

chime3D: Produce web graph of 3D graph that can be viewed using Chime web browser plug-in from a pdb file

Description

chime3D produces a html web page with a 3D graph of a pdb file that can be rotated and manipulated in a web browser that supports the chime plug-in.

Usage

chime3D(pdbfilename, classvec = NULL, title = NULL, filename = "output.html", point.size=40,cols=NULL, ...)

Arguments

pdbfilename
Input pdb filename, this is an output file from html3D.
classvec
Factor or vector which describes classes in the df. Default is NULL. If specified each group will be coloured in contrasting colours
title
Character, the title (header) of the web page saved if writehtml is TRUE. The default is NULL.
filename
Character. The filename of the html to be saved. The default is "output.html".
point.size
Numeric, size of the points in plot. Default is 40
cols
Vector, of colours to be used. The length of the vector must equal the length levels(classvec), that is the number of classes or groups of samples. The default is NULL, colours will be choosen using getcol.
...
further arguments passed to or from other methods

Value

chime3D output is a html file that can be viewed in any web browser that supports the Chime plug-in.

Details

Produces a html file, of a 3D graph which can be rotated using the FREEWARE chime (win, MacOS). Will colour samples by classvec if given one, and will produce chime script to highlight groups, spin on/off, and include button for restore for example see http://bioinf.ucd.ie/research/microarrays/.

See Also

Examples

Run this code

Run the code above in your browser using DataLab