2.1 Node Attribute Browser Test Cases

Preconditions

Test Case ID

Instructions

Expected Results

Windows

Mac

Date Executed

Pass/Fail

Date Executed

Pass/Fail

1. Start Cytoscape
2. Import a network file (eg galFiltered.sif) and attributes from text (eg. galGeneNames.csv)
3. Select the Node Attribute Browser tab

B2.1.1

1. Click Select Attributes
2. Check the appropriate attribute boxes eg. cannonicalName

A new column for the attribute should appear in the panel

May 15th 09

P

B2.1.2

Select a node and then select another node while in the Node Attribute Browser

Attributes should change to those for each specific node

May 15th 09

P

B2.1.3

Drag and select multiple nodes

Nodes should be highlighted and their attributes listed

May 15th 09

P

B2.1.4

Click one of the attributes of a node with multiple nodes selected

The selected attribute should get highlighted and the node a new highlight colour

May 15th 09

P

B2.1.5

1. Select a node
2. Double click on the text under one of the attribute columns
3. Edit the text of eg. Species by changing the capitalisation the press enter

The Browser should reflect the text changes and they should persist even if the node is unselected and then reselected

May 15th 09

P

B2.1.6

1. Drag and select several nodes (say 5)
2. Click create a new (string) attribute and call it Names
3. Click on the Attribute batch editor and select the Copy tab, select species from the Copy From menu and Names from the To menu
4. Click GO

The contents of the Copy From cells should now appear in the new attribute column Names

May 15th 09

P

B2.1.7

1. Select the Clear tab from the Attribute batch editor box
2. Choose Names as the attribute column
3. Click GO

The Browser should reflect the changes by showing no entries in the Names column

May 15th 09

P

B2.1.8

1. Select the Operation tab from the Node Attribute Batch Editor
2. Choose Set from the operation menu and choose the Names attribute as the column to edit
3. Type “Galactose Metabolism” into the text field and click GO

The Names attribute column should contain “Galactose Metabolism” for all the selected nodes

May 15th 09

P

B2.1.9

1. Repeat step 1 from B2.1.8
2. Choose Replace from the operation menu and choose the Names attribute as the column to edit
3. Type “Galactose Transport” into the text field and click GO

The Names attribute column should contain “Galactose Transport” for all the selected nodes

May 15th 09

P

B2.1.10

1. Repeat step 1 from B2.1.8
2. Choose To upper-case from the operation menu and choose the Names attribute as the column to edit
3. Click GO

The Names attribute column should contain “GALACTOSE TRANSPORT” or the text in the column should be all capitals

May 15th 09

P

B2.1.11

1. Repeat step 1 from B2.1.8
2. Choose To lower-case from the operation menu and choose the Names attribute as the column to edit

The Names attribute column should contain “galactose transport” or the text in the column should all be lower case

May 15th 09

P

B2.1.12

1. Repeat step 1 from B2.1.8
2. Choose Add Prefix from the operation menu and choose the Names attribute as the column to edit
3. Type “Yeast-“ into the text field and click GO

The Names attribute column should contain “Yeast-galactose transport” or the text in the column should be preceded by “Yeast-“

May 15th 09

P

B2.1.13

1. Repeat step 1 from B2.1.8
2. Choose Add Suffix from the operation menu and choose the Names attribute as the column to edit
3. Type “-intracellular” into the text field and click GO

The Names attribute column should contain “Yeast-galactose transport-intracellular” or the text in the column should be followed by “-intracellular”

May 15th 09

P

B2.1.14

1. Click create a new (Integer) attribute and call it Numbers
2. Repeat step 1 from B2.1.8
3. Choose Set from the operation menu and choose the Numbers attribute as the column to edit
4. Type “2” into the text field and click GO

The Numbers attribute column should contain “2”

May 15th 09

P

B2.1.15

1. Repeat step 1 from B2.1.8
2. Choose Add Number from the operation menu and choose the Numbers attribute as the column to edit
3. Type “2” into the text field and click GO

The Numbers attribute column should contain “4”

May 15th 09

P

B2.1.16

1. Repeat step 1 from B2.1.8
2. Choose Mul from the operation menu and choose the Numbers attribute as the column to edit
3. Type “2” into the text field and click GO

The Numbers attribute column should contain “8”

May 15th 09

P

B2.1.17

1. Repeat step 1 from B2.1.8
2. Choose Div from the operation menu and choose the Numbers attribute as the column to edit
3. Type “4” into the text field and click GO

The Numbers attribute column should contain “2"

May 15th 09

P

B2.1.18

1. Click the Import attributes from file icon in the Browser
2. Choose a node attribute file to import (eg. galFiltered.nodeAttrs1) and click Open
3. Click Select Attributes and click on the check box for the name of the newly imported attribute (eg. TestNodeAttribute1)

Each node selected should display either a 1, 2 or 3 in the TestNodeAttribute1 column

May 15th 09

P

B2.1.19

1. Click the Import Expression Matrix icon in the Browser
2. Choose an expression matrix file (eg. galExpData.pvals) and click Open (leave the default setting of Apply nodes using ID)
3. Click Select Attributes and click on the check boxes

Each node selected should display expression values in the Xexp columns and p values in the Xsig columns (where X is the name of the experiment)

May 15th 09

P

Cytoscape_2.6/Test Plan - 2.6/Core Plugins Test Cases/Node Attribute Browser_2.6 (last edited 2009-07-09 17:36:36 by 142)

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