summaryrefslogtreecommitdiff
path: root/issues/csv-metadata-not-commented-out.gmi
blob: 0eac486235c5bdb7e5a1ebf47f456c795e92c27a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# csv export meta data are not commented out

## Tags

* assigned: zsloan
* priority: high
* type: bug
* status: unclear
* keywords: CSV, from github, meta data

## Description

=> https://github.com/genenetwork/genenetwork2/issues/594 From GitHub

csv export data can't be read using the example R code
The csv looks like this:

```
Phenotype ID: 11320
Phenotype URL: http://genenetwork.org/show_trait?trait_id=11320&dataset=BXDPublish
Group: BXD
"Phenotype: Central nervous system"","" pharmacology"","" behavior: Morphine response (50 mg/kg ip)"","" locomotion from 45-60 min after injection in an activity chamber for males [n beam breaks]"
"Authors: Philip VM, Ansah TA, Blaha CD, Cook MN, Hamre KM, Lariviere WR, Matthews DB, Mittleman G, Goldowitz D, Chesler EJ"
Title: High-throughput behavioral phenotyping in the expanded panel of BXD recombinant inbred strains
"Journal: Genes, Brain & Behavior"
Dataset Link: http://gn1.genenetwork.org/webqtl/main.py?FormID=sharinginfo&InfoPageName=BXDPublish

Name,Value,SE,N
BXD1,3125.333,803.776,6
BXD2,540.167,448.724,6
```

The metadata need to be commented out and the empty line needs to be removed. R expects the first line to be the header.