@Test void testFactorFieldCreation() { SingleCellAnalyticsSchemaField result = SingleCellAnalyticsCollectionProxy.factorAsSchemaField("species"); assertThat(result.displayName()).isEqualTo("Species"); assertThat(result.name()).isEqualTo("factor_species"); }
public static SingleCellAnalyticsSchemaField factorAsSchemaField(String factor) { return new SingleCellAnalyticsSchemaField( String.format("factor_%s", factor), metadataFieldNameToDisplayName(factor, "characteristic_")); }
SingleCellAnalyticsCollectionProxy extends CollectionProxy { public static SingleCellAnalyticsSchemaField factorAsSchemaField(String factor) { return new SingleCellAnalyticsSchemaField( String.format("factor_%s", factor), metadataFieldNameToDisplayName(factor, "characteristic_")); } }
SingleCellAnalyticsCollectionProxy extends CollectionProxy { public static SingleCellAnalyticsSchemaField factorAsSchemaField(String factor) { return new SingleCellAnalyticsSchemaField( String.format("factor_%s", factor), metadataFieldNameToDisplayName(factor, "characteristic_")); } SingleCellAnalyticsCollectionProxy(SolrClient solrClient); }
SingleCellAnalyticsCollectionProxy extends CollectionProxy { public static SingleCellAnalyticsSchemaField factorAsSchemaField(String factor) { return new SingleCellAnalyticsSchemaField( String.format("factor_%s", factor), metadataFieldNameToDisplayName(factor, "characteristic_")); } SingleCellAnalyticsCollectionProxy(SolrClient solrClient); static SingleCellAnalyticsSchemaField characteristicAsSchemaField(String characteristic); static SingleCellAnalyticsSchemaField factorAsSchemaField(String factor); static SingleCellAnalyticsSchemaField metadataAsSchemaField(String metadata); static String metadataFieldNameToDisplayName(String metadataFieldName); static String attributeNameToFieldName(String attributeName); QueryResponse query(SolrQueryBuilder<SingleCellAnalyticsCollectionProxy> solrQueryBuilder); }
SingleCellAnalyticsCollectionProxy extends CollectionProxy { public static SingleCellAnalyticsSchemaField factorAsSchemaField(String factor) { return new SingleCellAnalyticsSchemaField( String.format("factor_%s", factor), metadataFieldNameToDisplayName(factor, "characteristic_")); } SingleCellAnalyticsCollectionProxy(SolrClient solrClient); static SingleCellAnalyticsSchemaField characteristicAsSchemaField(String characteristic); static SingleCellAnalyticsSchemaField factorAsSchemaField(String factor); static SingleCellAnalyticsSchemaField metadataAsSchemaField(String metadata); static String metadataFieldNameToDisplayName(String metadataFieldName); static String attributeNameToFieldName(String attributeName); QueryResponse query(SolrQueryBuilder<SingleCellAnalyticsCollectionProxy> solrQueryBuilder); static final SingleCellAnalyticsSchemaField CELL_ID; static final SingleCellAnalyticsSchemaField CHARACTERISTIC_INFERRED_CELL_TYPE; static final SingleCellAnalyticsSchemaField CHARACTERISTIC_SPECIES; static final SingleCellAnalyticsSchemaField CHARACTERISTIC_ORGANISM_PART; static final SingleCellAnalyticsSchemaField FACTORS; static final SingleCellAnalyticsSchemaField EXPERIMENT_ACCESSION; }