CMap Admin Tutorial: Feature Shapes

Index | < Relational Maps | Feature Lanes >
A feature's shape is determined by it's "feature type." All features of the same type are drawn the same. Note: How your features are drawn (esp. the dumbbells) will differ slightly depending on whether you have version 1.x or 2.x of libgd installed.

Shapes

These are the following shapes (AKA "glyphs") you can choose from:
box:

This is an empty box which straddles the map (or lane -- lanes and priorities are covered in the next section). It's really only intended for the rare feature on a map which has a span (both a start and stop position) in the lowest numbered lane (i.e. on the map) which won't overlap other features with this shape, such as a centromere. Many features drawn with the "box" shape tend to clutter a map hopelessly.

dumbbell:

Like the dumbbell for the map shape, only you can't control the width. If the feature has only a start position, it will be drawn as just a dot (the end of the dumbbell). Here are several features drawn as the dumbbell.

line:

This is the simplest shape as is ideal for single-point features. It is also a good choice for features with a span where you aren't concerned about showing the start and stop positions as the line is placed at the midpoint of the feature's span.

span:

This feature is like rectangle missing a side where the open side point to the map on which the feature lives.

up-arrow:

A vertical line with an arrowhead pointing to the top of the map.

down-arrow:

A vertical line with an arrowhead pointing to the bottom of the map.

double-arrow:

A vertical line with arrowheads at both ends.

filled-box:

A black-trimmed rectangle filled with the color of choice.

in-triangle:

A single triangle pointing towards the map and placed at the feature's start position.

out-triangle:

A single triangle pointing away from map and placed at the feature's start position.

Color

You can use any of the same colors for the features as you can for maps.
Index | < Relational Maps | Feature Lanes >