Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Habush committed Feb 26, 2019
2 parents 8bac2ee + 176aa77 commit a114e2a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
12 changes: 11 additions & 1 deletion docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,14 @@ pre code {

.snet-link {
color: inherit;
}
}

table {
border-collapse: collapse !important;
margin-bottom: 32px;
}

td, th {
border: solid 1px #aaa !important;
padding: 8px 16px !important;
}
17 changes: 15 additions & 2 deletions docs/users_guide/moses-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,19 @@ For genomic data, variants are naturally represented with a "one" value when pre

For numerically valued features such as transcript of protein levels, the median norm can be used where an observation is coded "one" if it is greater than the median value for the feature across all observations.

#### Example dataset
Here is a sample dataset to use with the moses-service. One of the columns in the dataset should be set as **target feature**. In this dataset, it is the first column named as **‘case’.**

| case | A1BG | A1CF | A2M | A2M-AS1 | A2ML1 | A4GALT | A4GNT | AA06 | AAAS |
|------|------|------|-----|---------|-------|--------|-------|------|------|
| 1 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 0 |
| 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 |
| 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 |
| 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 |
| 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 |


## Getting Started


Expand Down Expand Up @@ -67,7 +80,7 @@ Look at the documentation for mozi-cli [here](https://github.com/mozi-ai/mozi-se
2b. Assuming that you have an open channel (`id: 0`) to this service use the generated **query.json** file to call the service

```
$ snet client call 0 0.00000001 46.4.115.181:5002 StartAnalysis query.json
$ snet client call snet moses-service StartAnalysis query.json
...
response:
INFO - resultUrl: "http://46.4.115.181:8080/?id=<session-id>"
Expand All @@ -88,4 +101,4 @@ For feature requests and queries you can use [this template][feature-template].
* **Abdulrahman Semrie** - *[email protected]*
* **Yisehak Abreham** - *[email protected]*

<i class="fa fa-copyright"/> 2019 [SingularityNET](https://www.singularitynet.io)
<i class="fa fa-copyright"/> 2019 [SingularityNET](https://www.singularitynet.io)

0 comments on commit a114e2a

Please sign in to comment.