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
WIP |
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
package pedcbimport.pipelines.wes | |
import utils.Implicits.ProductImplicits | |
import utils.Implicits.StringImplicits | |
import utils.Implicits.SeqImplicits | |
import WesRaw.Cosmic._ | |
// =========================================================================== | |
object Wes { |
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
package nebulis.transformation | |
// =========================================================================== | |
object Example extends App { // extending App so the body runs as a main() method | |
val results: Iterable[OutputHybrid] = // "turn a stream of input sample and mutations into a stream of 'hybrid'" | |
OutputHybrid.transform( | |
samples = ???, // assume actual data | |
mutations = ???) |
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
--- | |
openapi: "3.0.0" | |
info: | |
version: "0.1.0" | |
title: "grinop" | |
servers: | |
- url: "https://localhost:9000/api/v0" | |
paths: | |
/auth/signin: | |
post: |
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
# notes: | |
# - use 4 spaces for display tab | |
# - repeated tabs get trimmed to one | |
# - anything beyond ' #' is trimmed (including marker), so are empty lines (post line-trim) | |
# - \N stand for no value (eg NULL in SQL) | |
# - PATID, ENCOUTERID and other IDs are inferred from the _id field, including redundant fields | |
=========================================================================== | |
DEMOGRAPHIC |
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
{ "stage": "4" } | |
{ "$eq": { "mycn_status":"amplified" }} | |
{ "$not": { "stage": 4 }} | |
{ "$not": { "$lt": { "stage": 4 }}} | |
{ "$not": { "$not": { "stage": "4" }}} | |
{ "$not": { "$not": { "$lt": { "stage": 4 }}}} | |
{ "risk": ["high","low"] } | |
{ "$nin": { "risk": ["high","low"] }} | |
{ "$not": { "$in": { "risk": ["high","low"] }}} | |
{ "$or": [{ "$eq": { "mycn_status":"amplified" }},{ "stage": "4" } ] } |
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 React, { Component } from 'react'; | |
import logo from './logo.svg'; | |
import './App.css'; | |
class App extends Component { | |
render() { | |
return ( | |
<div className="App"> | |
<header className="App-header"> | |
<img src={logo} className="App-logo" alt="logo" /> |
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
package minimal | |
import scala.scalajs.js | |
import scala.scalajs.js.annotation.JSImport | |
object Bindings { | |
// =========================================================================== | |
// ReactDOM | |
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
package minimal | |
import org.scalajs.dom | |
import scala.scalajs.js | |
object App { | |
def main(args: Array[String]): Unit = { | |
// prints to console as expected |
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
object MediumArticle extends App { // reproducing example from https://medium.com/@thijser/doing-cool-data-science-in-java-how-3-dataframe-libraries-stack-up-5e6ccb7b437# | |
import gallia._ // see https://github.com/galliaproject/gallia-core/blob/init/README.md#dependencies | |
// --------------------------------------------------------------------------- | |
/* | |
for reference, pandas way provided in the article: | |
data = pd.read_csv('urb_cpop1_1_Data.csv') | |
filtered = data.drop(data[data.Value == ":"].index) | |
filtered['key'] = filtered['CITIES'] + ':' + filtered['INDIC_UR'] |