Export
Prev | Chapter 2. Feature Reference | Next

## Export

Most displays support output to image formats such as PNG, PPM and JPEG. The dendrogram view also supports export to vector-based postcript files. Additionally, it is possible to export subsets of data to tab-delimitted text, i.e. gene lists and cdts.

### Export of Selected Genes and Data to Tab-Delimited Text

Selected genes and data can be exported to tab delimited text using "Export->Export to Text File...". The export dialog allows you to select which annotation columns you would like to include, whether you want to include the expression data, and whether you want to include a header line. The default is to print out a simple gene list with no header.

### Export of Dendrograms

Figure 2.9. Dendrogram Export Dialog

The dendrogram can be exported to either image files or editable Postscript for publication purposes. Postscript can be edited as objects in programs such as Adobe Illustrator, but can get prohibitively large with many genes and arrays. Image files are simply pixels, but can take up less space. To export to Postscript, select "Export->Export to Postscript" off the menubar. To export to images, select "Export->Export to Image". The following sections apply to both types of export. Although the above image is a screenshot of Postscript export, the only difference with image export is that there is no Bounding Box option. The purpose of the bounding box is discussed in the section called “Bounding Box”.

#### Headers

Both gene and array headers can be included in the exported image. The headers can be selected using the listboxes on the left side of the export dialog. Holding down the apple key on a mac, the Alt key on windows, or the Meta key on a unix machine will allow you to select multiple headers, or to deselect all headers.

Below the Listboxes is a checkbox which specifies whether the array names are to be output below the gene tree or not.

#### Include Checkboxes

The top half of the column in the middle of the dialog contains checkboxes which control exactly what data in included in the exported image.

The "Selection Only" checkbox determines whether just the selected genes and arrays or all genes and arrays are output.

The "Gene Tree" and "Array Tree" checkboxes determine whether or not the gene and array trees should be included.

The "Data Matrix" checkbox specifies whether or not the actual data matrix should be included.

#### Size and Scaling

The bottom half of the middle column has a few text fields.

The "x scale" and "y scale" boxes set the size in pixels of the boxes in the data matrix.

The "Total Size" boxes contain the total predicted size of the exported image in inches. These fields are not used by the export machinery, and editing them has no effect.

#### Preview

A preview of the exported image using the current settings is displayed on the right side of the dialog. If the preview takes a long time to render for some reason, it can be disabled with the checkbox below.

#### Export To

At the bottom of the export panel is a text field holding a suggested filename to hold the exported image. This field can be edited directly, or another file can be selected using the Browse button to the right.

### Bounding Box

The Bounding Box is a part of the PostScript standard which informs postscript renderers of non-standard page sizes. If you have problems seeing all of an exported postscript image then including the bounding box or making it bigger might help. Due to the vagaries of font rendering, there is no easy way for me to predict how long a particular text string is going to be. I take a decent guess, but sometimes the text will get clipped.

Corel Draw, Adobe Photoshop, and Adobe Illustrator all support the Bounding Box, and will correctly render exported postscript from Java TreeView.

Adobe Distiller ignores the Bounding Box and produces incorrect output on some platforms.

Prev | Up | Next
Settings | Home | Java Treeview Modes