Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Inconsistent lengths of style and numPaths on plate 102 #37

Open
matiasandina opened this issue Jan 11, 2021 · 1 comment
Open

Inconsistent lengths of style and numPaths on plate 102 #37

matiasandina opened this issue Jan 11, 2021 · 1 comment

Comments

@matiasandina
Copy link
Contributor

I'm having an issue with the number of paths and the available style for them on the EPSatlas

EPSatlas$plates[[102]]@summary@numPaths
[1] 110
EPSatlas$plate.info[[102]]$style %>% length()
[1] 102

This means that I cannot create a data.frame of the style for each one of the paths. Is this a bug? is there a reason some paths don't have the matching style?

@tractatus
Copy link
Owner

tractatus commented Feb 13, 2021

@matiasandina This has to do with the original Allen brain atlas. The style record is imported from the SVG files.
If there is no style entry then none will be added for that record.
If you want to create a tidy data frame then NA is usually something you can ad in those entries. Most ways of producing a data frame from lists with unmatched lengths would produce NA automatically.

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

No branches or pull requests

2 participants