rajewsky-lab / novosparc

BSD 3-Clause "New" or "Revised" License
125 stars 41 forks source link

How to create the tissue.png file #62

Open liliay opened 2 years ago

liliay commented 2 years ago

Hi guys,

I am using novosparc on a structure that is half a sphere. For now I used to map my genes on a sphere (using the function novosparc.gm.construct_sphere) but i am thinking of ways to work on half sphere. Therefore, i was wondering how the file tissue.png (the created shape for drosophila data), has been generated ? With which tool ?

Thanks to anyone who is willing to clarify this to me,

Best, Lilia

enessenel commented 2 years ago

Hi Lilia,

as a shortcut, you can maybe generate a sphere using novosparc and then split the locations from one axis so that you would just have one side of the sphere.

Regarding the image, you can basically either draw something via any graphical drawing tool, or if you have some type of an image for your tissue, you can use a binarised version of it.

I hope it helps Best,