【发布时间】:2011-06-15 21:47:14
【问题描述】:
我正在尝试从 R 制作 yaml 格式文件。我知道有这样一个工作包,但它的示例非常简单,我的对象有点棘手!!
所以我想做类似下面的东西,但我不知道我应该如何将它塑造成 R 对象(数据框?!):
tree:
format: newick
translate: ./My_example-1.translation
file: ./Xtol_example-1.tree
tracks:
- class: colorstrip
source: ./My_example-1.catdomain
rel_height: 0.6
title: Catalytic domain
- class: colorstrip
source: ./My_example-1.kingdom
rel_height: 0.6
title: Itsname
- class: colorstrip
source: ./My_example-1.temp
【问题讨论】: