{% for sample_type in sample_groups %}
{% if loop.index == 1 and (sample_groups[0].se_exists or has_num_cases or sample_groups[0].attributes|length > 0) %} Show/Hide Columns:
{% if sample_groups[0].se_exists %} {% if has_num_cases %} {% set attr_start_pos = 7 %} {% else %} {% set attr_start_pos = 6 %} {% endif %} {% else %} {% if has_num_cases %} {% set attr_start_pos = 5 %} {% else %} {% set attr_start_pos = 4 %} {% endif %} {% endif %} {% if sample_groups[0].attributes %} {% for attribute in sample_groups[0].attributes %} {% endfor %} {% endif %}

{% endif %}
            
  # read into R
  trait <- read.csv("{{ this_trait.display_name}}.csv", header = TRUE, comment.char = "#")

  # read into python
  import pandas as pd
  trait = pd.read_csv("{{ this_trait.display_name}}.csv", header = 0, comment = "#")
            
          
Edit CaseAttributes {% set outer_loop = loop %}

{{ sample_type.header }}


Loading...

{% endfor %}