rosebaesj / AD_Microbiome_R

Data belongs to AMSRC, Kyung Hee University
1 stars 0 forks source link

Stacked bar of relative abundance #1

Closed rosebaesj closed 2 years ago

rosebaesj commented 2 years ago
Screen Shot 2022-05-29 at 4 16 43 PM

색상 및 순서를 relative abundance가 많은 순서대로!!

rosebaesj commented 2 years ago

Also, we need to make it in groups. Maybe getting the average file separately?

rosebaesj commented 2 years ago

Group_Class

Partially solved..... Y axis scale has a prob Shown as 'sum' not 'mean' or 'average'

also problem with legends. don't want to see border legends

rosebaesj commented 2 years ago

Group_Phylum

Order 만 남았음

rosebaesj commented 2 years ago

background grey -> white

rosebaesj commented 2 years ago

group들이랑 total이랑 간격을 넣기! xlab????

rosebaesj commented 2 years ago
Screen Shot 2022-06-08 at 3 11 39 PM

NA values are missing after otu. Doesn't matter with phylum, class level, but do matters after order-level....

rosebaesj commented 2 years ago

tax_glom 단계에서 NArm=TRUE 를 FALSE로 바꿔주면 됨 -> 근데 이렇게 하니까 duplicate cell이 생겨서 복잡해짐 그냥 어차피 NA 이니까 1에서 뺀 값으로 사용하는게 어떨까?