public void createItemClassificationBySpecies() { for ( SimplifiedAnnotatedObject<BioSource> bioSource : species2experimentSet.keySet() ) { Collection<SimplifiedAnnotatedObject<Experiment>> smallScaleExp = species2experimentSet.get( bioSource ); // split the set into subset of size under SMALL_SCALE_LIMIT String filePrefixGlobal = bioSource.getShortLabel().replace( ' ', '-' ); createExpListItems( smallScaleExp, filePrefixGlobal + "_" + SMALL, // small scale filePrefixGlobal, // large scale Classification.SPECIES ); } }
public void createItemClassificationBySpecies() { for ( SimplifiedAnnotatedObject<BioSource> bioSource : species2experimentSet.keySet() ) { Collection<SimplifiedAnnotatedObject<Experiment>> smallScaleExp = species2experimentSet.get( bioSource ); // split the set into subset of size under SMALL_SCALE_LIMIT String filePrefixGlobal = bioSource.getShortLabel().replace( ' ', '-' ); createExpListItems( smallScaleExp, filePrefixGlobal + "_" + SMALL, // small scale filePrefixGlobal, // large scale Classification.SPECIES ); } }
/** * Build the classification by pubmed id. * <br/> * We keep the negative experiment separated from the non negative. */ private void createItemClassificationByPubmed() { List<String> pubmedOrderedList = new ArrayList<String>( pubmed2experimentSet.keySet() ); Collections.sort( pubmedOrderedList ); // Go through all clusters and split if needs be. for ( String pubmedid : pubmedOrderedList ) { // get experiments associated to that pubmed ID. Set<SimplifiedAnnotatedObject<Experiment>> experiments = (Set<SimplifiedAnnotatedObject<Experiment>>) pubmed2experimentSet.get( pubmedid ); // split the set into subset of size under SMALL_SCALE_LIMIT createExpListItems( experiments, pubmedid, // small scale pubmedid, // large scale Classification.PUBLICATIONS ); } // pubmeds }
/** * Build the classification by pubmed id. * <br/> * We keep the negative experiment separated from the non negative. */ private void createItemClassificationByPubmed() { List<String> pubmedOrderedList = new ArrayList<String>( pubmed2experimentSet.keySet() ); Collections.sort( pubmedOrderedList ); // Go through all clusters and split if needs be. for ( String pubmedid : pubmedOrderedList ) { // get experiments associated to that pubmed ID. Set<SimplifiedAnnotatedObject<Experiment>> experiments = (Set<SimplifiedAnnotatedObject<Experiment>>) pubmed2experimentSet.get( pubmedid ); // split the set into subset of size under SMALL_SCALE_LIMIT createExpListItems( experiments, pubmedid, // small scale pubmedid, // large scale Classification.PUBLICATIONS ); } // pubmeds }
public void createItemClassificationBySpecies() { for ( SimplifiedAnnotatedObject<BioSource> bioSource : species2experimentSet.keySet() ) { Collection<SimplifiedAnnotatedObject<Experiment>> smallScaleExp = species2experimentSet.get( bioSource ); // split the set into subset of size under SMALL_SCALE_LIMIT String filePrefixGlobal = bioSource.getShortLabel().replace( ' ', '-' ); createExpListItems( smallScaleExp, filePrefixGlobal + "_" + SMALL, // small scale filePrefixGlobal, // large scale Classification.SPECIES ); } }
/** * Build the classification by pubmed id. * <br/> * We keep the negative experiment separated from the non negative. */ private void createItemClassificationByPubmed() { List<String> pubmedOrderedList = new ArrayList<String>( pubmed2experimentSet.keySet() ); Collections.sort( pubmedOrderedList ); // Go through all clusters and split if needs be. for ( String pubmedid : pubmedOrderedList ) { // get experiments associated to that pubmed ID. Set<SimplifiedAnnotatedObject<Experiment>> experiments = (Set<SimplifiedAnnotatedObject<Experiment>>) pubmed2experimentSet.get( pubmedid ); // split the set into subset of size under SMALL_SCALE_LIMIT createExpListItems( experiments, pubmedid, // small scale pubmedid, // large scale Classification.PUBLICATIONS ); } // pubmeds }