Hi there!!!
I am trying to do a meta-analysis with 5 datasets with metafor package. I want to get an image like the following where different legends are used for different studies and bacteria names are checked for control/test enriched group. I want to generate same image. This forest plot (figure b) has been generated with metafor:

But, in every tutorial/documentation regarding meta-analysis with metafor, I am seeing the datasets are placed horizontally producing forest plot like this:

Can you please tell me how can I get the desired plot? How should the input file for metafor be to get the desired output image? Please check this link to see the format of the table for each of the datasets to be tested. I am also trying to paste the same here as well:
type test control control control control test control control test
clade_name SRR572252_profile SRR062268_profile SRR062265_profile SRR062264_profile SRR062263_profile SRR062261_profile SRR062260_profile SRR062259_profile SRR062258_profile
Actinomyces_odontolyticus 0 0 0.00341 0 0.03155 0 0.00213 0.00763 0
Actinomyces_sp_HPA0247 0 0 0 0 0 0 0.02891 0 0
Actinomyces_sp_ICM47 0 0 0.0042 0 0 0 0.0042 0 0.01666
Alloscardovia_omnicolens 0 0 0 0 0 0 0 0 0
Bifidobacterium_adolescentis 0.26989 0.21046 0 2.00023 1.24158 0.9991 1.79882 0.90162 0.93465
Bifidobacterium_animalis 0 0.03512 0 0.11464 0 0 0 0 0
Bifidobacterium_bifidum 0 0.07668 0 0.33464 0 0 0 0 0
Bifidobacterium_catenulatum 0 0.06641 0 0 0.54972 0 0 0.00264 0
Bifidobacterium_dentium 0 0 0 0 0.01905 0 0 0.00585 0
Bifidobacterium_longum 2.46071 1.68152 0 1.76625 1.91239 0 1.51573 0.80685 1.05247
Bifidobacterium_pseudocatenulatum 0 0 0 0 0 0 0 0.03202 0
Rothia_mucilaginosa 0 0 0 0 0.01781 0 0 0 0
Propionibacterium_freudenreichii 0 0 0 0 0 0 0 0.03723 0
Olsenella_scatoligenes 0.00117 0 0.00063 0.00081 0.00275 0 0.00129 0.01859 0
Collinsella_aerofaciens 3.91749 1.27748 0.68346 3.54635 3.45814 1.35682 2.59444 4.32275 2.00298
Collinsella_intestinalis 0.01625 0 0.00148 0.01948 0.00618 0.00277 0.02187 0.02504 0.0045
Collinsella_stercoris 0.06886 0.01677 0.01178 0.07679 0.08548 0.0159 0.03874 0.10116 0.0329
Enorma_massiliensis 0.00453 0 0.00527 0.01215 0.01395 0.00097 0.00392 0.0168 0.00347
Thanks
0 answers
No answers yet.
Log in to answer this question.
Hello dpc!
It appears that your post has been cross-posted to another site: https://bioinformatics.stackexchange.com/questions/15116/need-help-regarding-meta-analysis-with-metafor-package
This is typically not recommended as it runs the risk of annoying people in both communities. What you're doing - posting the same question in multiple forums within a short time period just because you want answers faster - is highly frowned upon. Given the degree of overlap in the communities' user base, you're essentially asking the same people to invest effort twice. Don't do that - it will only make people ignore you in both places.