This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const mapActivities = (activities, state) => { | |
if ( | |
!isArray(activities) || | |
!activities.length || | |
!isArray(state.experiments.list) || | |
!state.experiments.list.length | |
) | |
return { bySignature: {}, byExperiment: [] }; | |
// get all activities in signature, and min/max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import biomart | |
def get_ensembl_mappings(): | |
# Set up connection to server | |
server = biomart.BiomartServer('http://uswest.ensembl.org/biomart') | |
mart = server.datasets['mmusculus_gene_ensembl'] |