mandymejia / ciftiTools

ciftiTools R package
46 stars 8 forks source link

view_xifti_surface unable to visualize dlabel with more than 200 parcels #57

Closed Bramdiamond closed 10 months ago

Bramdiamond commented 10 months ago

I am attempting to visualize Schaefer 400 as done in Pham et al., 2022, but I'm running into an issue with "too many labels."

> parc = load_parc("Schaefer_400") 
> plot(parc) 
Warning message: In view_xifti_surface(xifti, color_mode = args$color_mode, zlim = args$zlim,  :   
Too many labels (> 200) for qualitative color legend. Not rendering it. 
> parc
====CIFTI METADATA=================== 
Intent:           3007 (dlabel) 
names           "parcels" 
Measurements:     1 column  

====BRAIN STRUCTURES================= 
left cortex     32492 data vertices  

right cortex    32492 data vertices

Is there any way around this?

mandymejia commented 10 months ago

Hi Bram, was this resolved since you closed the issue?

On Thu, Dec 14, 2023, 8:36 PM Bram Diamond @.***> wrote:

Closed #57 https://github.com/mandymejia/ciftiTools/issues/57 as completed.

— Reply to this email directly, view it on GitHub https://github.com/mandymejia/ciftiTools/issues/57#event-11252159212, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHVKUVYUUDB7ZIWLI2YUCLYJNIMXAVCNFSM6AAAAABAVJMLB6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGI2TEMJVHEZDCMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Bramdiamond commented 10 months ago

Yes! Thank you. I saw what I was doing wrong.