Attribute Functions Feature Test

Preconditions

Test Case ID

Instructions

Expected Results

Date Executed

Results

1. Start Cytoscape
2. Import the galFiltered.sif network file
3. Select some nodes
4. Create 2 floating point attributes, e.g. f1 and f2

AF1

1. Click on a browser cell
2. Enter some simple expressions, e.g. =ABS(SIN(-12.3)+22)
3. Press Return/Enter

The cell should display the result of the evaluated expression

AF2

1. Enter a numeric value in the column for f1
2. Create an equation on the same row/node for f2 referencing f1, e.g. =$f1 + 10.5
3. Press Return/Enter

The cell should display the result of the evaluated expression

AF3

1. Create a new floating point attribute called size
2. Enter the equation =SQRT(INDEGREE($ID)+OUTDEGREE($ID)+0.5)*40 into it
3. Go to the VisMapper and map the size attribute to the node size using a pass-through mapping

The node should now display a size approximately proportional to their degree

AF4

1. Click on a browser cell
2. Enter an invalid expression like =SIN(4))
3. Press Return/Enter

An error message dailog should pop up and after clicking Ok on the dialog, the cell should display the message #PARSE

AF5

1. Click on a browser cell
2. Enter a well-formed expression but with invalid values, like =LOG(-1) or =1/0
3. Press Return/Enter

A detailed error message starting with #ERROR( should appear in the cell.

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux