-
Notifications
You must be signed in to change notification settings - Fork 3
/
aliases.Rmd
60 lines (34 loc) · 2.02 KB
/
aliases.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
```{r, include=FALSE}
#Load necessary libraries
library(knitr)
```
# Aliases
An Alias is a special [type of Data Node](datanodes.html#concept-datanodes) which can represent a [Group](groups.html) pathway element (or other entity). An Alias Data Node can be linked to an existing Group.
## Adding an Alias
Alias Data Nodes can be [added from an existing Group](#adding-and-deleting-an-alias-from-a-group) (linked to the selected group) or [using the Objects Panel](#linking-and-unlinking-an-alias-to-a-group) (link to a group later).
## Adding and Deleting an Alias from a Group
### To Add an Alias for an existing Group:
1. Right-click on the Group and select "Add Alias...". The new Alias Data Node will be linked to this Group.
### To Remove an Alias:
1. To remove an Alias, click on the Alias and delete as normal.
![](images/gifs/add-delete-alias.gif){width=100%}
## Linking and Unlinking an Alias to a Group
Use the Objects Panel to add a DataNode of type Alias.
### To Link an Alias Data Node to a Group:
1. Right-click and select "Link to Group..."
2. Click on to select the Group you wish to link the Alias DataNode
### To Unlink an Alias Data Node from the referenced Group:
1. Right-click and select "Unlink from Group..."
![](images/gifs/link-unlink-alias.gif){width=100%}
## Copying and Pasting an Alias
An Alias Data Node can be copied and pasted.
### With linked Group
If both an Alias Data Node and the Group it is linked to are copied, the *new* Alias Data Node will be linked to the *new* Group.
![](images/gifs/copy-alias-group.gif){width=100%}
### Without linked Group
```{r fig.align="center", echo=FALSE, fig.cap = "Warning message when copying an Alias (unlinked or copied without group)"}
#TCA Cycle Pathway
knitr::include_graphics("images/screenshots/copy-alias-warning.png")
```
If an Alias Data Node is unlinked OR the Alias Data Node is linked to a Group but only the Alias DataNode is copied, the *new* Alias Data Node *will not be linked to any Group*.
![](images/gifs/copy-only-alias.gif){width=100%}