These exercises are about data types and custom functions from Session 1 session1.

Exercise 1 - NumPy

## array([['R1', '1990', 'True', 'Skin'],
##        ['R2', '2010', 'True', 'Skin'],
##        ['R3', '2005', 'False', 'Brain'],
##        ['R4', '2015', 'False', 'Brain'],
##        ['R5', '2012', 'False', 'Brain']], dtype='<U21')
## array([['R1', '1990'],
##        ['R2', '2010'],
##        ['R3', '2005'],
##        ['R4', '2015'],
##        ['R5', '2012']], dtype='<U21')
## array([['R3', '2005', 'False', 'Brain'],
##        ['R4', '2015', 'False', 'Brain'],
##        ['R5', '2012', 'False', 'Brain']], dtype='<U21')

Exercise 2 - NumPy

## array([[ 1,  2,  3,  4,  5,  6],
##        [ 7,  8,  9, 10, 11, 12],
##        [13, 14, 15, 16, 17, 18]])
## (3, 6)
## array([1, 2, 3, 4, 5, 6, 7, 8, 9])
## array([10, 11, 12, 13, 14, 15, 16, 17, 18])
## (9,)
## 1
## (9,)
## 1
## array([[1, 2, 3],
##        [4, 5, 6],
##        [7, 8, 9]])
## array([[10, 11, 12],
##        [13, 14, 15],
##        [16, 17, 18]])
## array([[ 1,  2,  3, 10, 11, 12],
##        [ 4,  5,  6, 13, 14, 15],
##        [ 7,  8,  9, 16, 17, 18]])

Exercise 3 - Custom Functions

## 81
## [2.0, 1]
## The product is 3
## [2.0, 1]
## The product is 400
## [25.0, 10]

Exercise 4 - Custom Functions

** Think about each individual step required to do this**

Run the function using these inputs

list1 = ["INS","INSR", "VEGFA","VEGFR1","VEGFR2"]
list2 = ["TGFBR1","EGFR","VEGFR1","VEGFR2"]
list3 = ["APOE", "IL6", "TGFB1","TGFBR1","TNF"]

Save the function as a python script. Import the function and run it on this new set of lists

list1 = ["'GO:0030955'","GO:0031403", "GO:0031411"]
list2 = ["GO:0031402","GO:0030955"]
list3 = ["GO:0031402", "GO:0030957", "GO:0030955"]