| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  | # Species IDs of known replicatively aging species. | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  | species_ids_replicative <- c( | 
					
						
							|  |  |  |     "bihybrid", | 
					
						
							|  |  |  |     "btaurus", | 
					
						
							|  |  |  |     "bthybrid", | 
					
						
							|  |  |  |     "cfamiliaris", | 
					
						
							|  |  |  |     "chircus", | 
					
						
							|  |  |  |     "cjacchus", | 
					
						
							|  |  |  |     "clfamiliaris", | 
					
						
							|  |  |  |     "csabaeus", | 
					
						
							|  |  |  |     "ecaballus", | 
					
						
							|  |  |  |     "fcatus", | 
					
						
							|  |  |  |     "ggorilla", | 
					
						
							|  |  |  |     "hsapiens", | 
					
						
							|  |  |  |     "lafricana", | 
					
						
							|  |  |  |     "mfascicularis", | 
					
						
							|  |  |  |     "mmulatta", | 
					
						
							|  |  |  |     "mmurinus", | 
					
						
							|  |  |  |     "mnemestrina", | 
					
						
							|  |  |  |     "nleucogenys", | 
					
						
							|  |  |  |     "oaries", | 
					
						
							|  |  |  |     "pabelii", | 
					
						
							|  |  |  |     "panubis", | 
					
						
							|  |  |  |     "ppaniscus", | 
					
						
							|  |  |  |     "ptroglodytes", | 
					
						
							|  |  |  |     "sscrofa", | 
					
						
							|  |  |  |     "tgelada" | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  | # Species from [geposan] and their aging status. | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  | species <- geposan::species[, .( | 
					
						
							|  |  |  |     id, | 
					
						
							|  |  |  |     name, | 
					
						
							|  |  |  |     replicative = id %chin% species_ids_replicative | 
					
						
							|  |  |  | )] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  | # Gene names of genes for verified TPE-OLD genes. | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  | genes_verified_tpe_old <- c( | 
					
						
							|  |  |  |     "C1S", | 
					
						
							|  |  |  |     "DSP", | 
					
						
							|  |  |  |     "ISG15", | 
					
						
							|  |  |  |     "SORBS2", | 
					
						
							|  |  |  |     "TERT" | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  | # Gene names of genes with a suggested TPE-OLD. | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  | genes_suggested_tpe_old <- c( | 
					
						
							|  |  |  |     "AKAP3", | 
					
						
							|  |  |  |     "ANO2", | 
					
						
							|  |  |  |     "CCND2", | 
					
						
							|  |  |  |     "CD163L1", | 
					
						
							|  |  |  |     "CD9", | 
					
						
							|  |  |  |     "FOXM1", | 
					
						
							|  |  |  |     "GALNT8", | 
					
						
							|  |  |  |     "NDUFA9", | 
					
						
							|  |  |  |     "TEAD4", | 
					
						
							|  |  |  |     "TIGAR", | 
					
						
							|  |  |  |     "TSPAN9" | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  | # Genes from [geposan] and their TPE-OLD status. | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  | genes <- geposan::genes[, .( | 
					
						
							|  |  |  |     id, | 
					
						
							|  |  |  |     name, | 
					
						
							|  |  |  |     chromosome, | 
					
						
							|  |  |  |     suggested = name %chin% genes_suggested_tpe_old, | 
					
						
							|  |  |  |     verified = name %chin% genes_verified_tpe_old | 
					
						
							|  |  |  | )] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  | # All available methods from [geposan] and additional information on them. | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  | methods <- list( | 
					
						
							|  |  |  |     list( | 
					
						
							|  |  |  |         id = "clusteriness", | 
					
						
							|  |  |  |         name = "Clustering", | 
					
						
							|  |  |  |         description = "Clustering of genes" | 
					
						
							|  |  |  |     ), | 
					
						
							|  |  |  |     list( | 
					
						
							|  |  |  |         id = "correlation", | 
					
						
							|  |  |  |         name = "Correlation", | 
					
						
							|  |  |  |         description = "Correlation with known genes" | 
					
						
							|  |  |  |     ), | 
					
						
							|  |  |  |     list( | 
					
						
							|  |  |  |         id = "proximity", | 
					
						
							|  |  |  |         name = "Proximity", | 
					
						
							|  |  |  |         description = "Proximity to telomeres" | 
					
						
							|  |  |  |     ), | 
					
						
							|  |  |  |     list( | 
					
						
							|  |  |  |         id = "neural", | 
					
						
							|  |  |  |         name = "Neural", | 
					
						
							|  |  |  |         description = "Assessment by neural network" | 
					
						
							|  |  |  |     ) | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  | # Gene IDs of known or suggested TPE-OLD genes. | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  | genes_tpe_old <- genes[suggested | verified == TRUE, id] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-21 17:34:53 +02:00
										 |  |  | # Species IDs for replicatively aging species. | 
					
						
							|  |  |  | species_replicative <- species[replicative == TRUE, id] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  | # Preset for [geposan] including all species and TPE-OLD genes for reference. | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  | preset_all_species <- geposan::preset( | 
					
						
							|  |  |  |     methods = c("clusteriness", "correlation", "proximity", "neural"), | 
					
						
							|  |  |  |     species = species$id, | 
					
						
							|  |  |  |     genes = genes$id, | 
					
						
							|  |  |  |     reference_genes = genes_tpe_old | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  | # Preset for [geposan] including only replicatively aging species as well as | 
					
						
							|  |  |  | # TPE-OLD genes for reference. | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  | preset_replicative_species <- geposan::preset( | 
					
						
							|  |  |  |     methods = c("clusteriness", "correlation", "proximity", "neural"), | 
					
						
							| 
									
										
										
										
											2021-10-21 17:34:53 +02:00
										 |  |  |     species = species_replicative, | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  |     genes = genes$id, | 
					
						
							|  |  |  |     reference_genes = genes_tpe_old | 
					
						
							|  |  |  | ) |