Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add MANC symmetric surface #11

Open
mmc46 opened this issue Jun 10, 2021 · 11 comments
Open

Add MANC symmetric surface #11

mmc46 opened this issue Jun 10, 2021 · 11 comments

Comments

@mmc46
Copy link
Collaborator

mmc46 commented Jun 10, 2021

Is it possible to add a surface for the MANCsym template brain object?

@jefferis
Copy link
Contributor

neuropil or tissue? We don't really have a good combined neuropil right now (just the one with many individual neuropil domains). For the time being you can do

MANCsym.surf.m=symmetric_manc(MANC.surf, mirror=T)

as per https://flyconnectome.github.io/malevnc/reference/mirror_manc.html#examples which I'm sure you've seen

@jefferis
Copy link
Contributor

@dokato simplified the all-tissue mesh and that could be symmetrised.

@mmc46
Copy link
Collaborator Author

mmc46 commented Jun 11, 2021

I meant just the tissue.

@jefferis
Copy link
Contributor

@dokato would you mind adding a symmetric version of your tissue mesh as @mmc46 is asking?

@dokato
Copy link
Collaborator

dokato commented Jun 11, 2021

Sure, see #15

@jefferis
Copy link
Contributor

@mmc46 Were you think these all-tissue masks would be called MANC.surf and MANCsym.surf, respectively, so that one could do:

plot3d(MANC)
plot3d(MANCsym)

and get them?

@mmc46
Copy link
Collaborator Author

mmc46 commented Jun 13, 2021 via email

@jefferis
Copy link
Contributor

@dokato I think it would be good if you would update the names of the two surfaces to MANC.surf and MANCsym.surf and we will use them as the default for the dataset.

@dokato
Copy link
Collaborator

dokato commented Jun 14, 2021

What happens then with:

#' @name MANC.surf
#' @aliases JRCFIBVNC2020MNP.surf

?
Should I override it with a tissue one?

IMHO the naming was good, as it indicated that this is a tissue surface.

@lisa-marin
Copy link
Collaborator

NB: this package now depends on R (>= 3.5.0) WARNING: Added dependency on R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects: 'malevnc/data/MANC.tissue.surf.sym.rda'

@dokato
Copy link
Collaborator

dokato commented Jun 24, 2021

Indeed, I should have saved it with parameter to support backward compatibility, however, even quicker fix might be bumping up the minimum R version to 3.5, since even that is quite old as for now.

I'm about to fix naming anyway here, once @jefferis decides what to do with old MANC.surf object.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants