plotting ssc

102 views
Skip to first unread message

Marina Zavolskova

unread,
May 4, 2022, 8:28:51 AM5/4/22
to Cardinal MSI Help
Hi, everyone

Have anybody tried to plot Spatial Shrunken centroids result just for one class?
I thought, it may be something like:

plot(ssc, values="statistic", "class" == 2, lwd=1)
or

plot(ssc@resultData@listData[[1]][["class"]] == 2), values="statistic", lwd=1)

but it didn't work

Thanks in advance,

Marina


Davide G. Franchina

unread,
Nov 8, 2022, 12:53:41 PM11/8/22
to Cardinal MSI Help
Hi Marina,

I have also tried in different ways but without success. Wondering if you found a solution to this?

Davide G. Franchina

unread,
Jan 20, 2023, 6:26:15 PM1/20/23
to Cardinal MSI Help
Hi Marina,

here is is what I finally came up with to plot the result of just one class after SSC:

image(pig206_ssc, column=1,  #column in this case is the segment to be plotted (in this case from 1 to 10)
      strip=T, colorkey=F, key=F)

Marina Zavolskova

unread,
Mar 22, 2023, 9:55:43 AM3/22/23
to Cardinal MSI Help
Hi David, thank you very much, and btw it also works for plot() function

Marina

суббота, 21 января 2023 г. в 06:26:15 UTC+7, Davide G. Franchina:
Reply all
Reply to author
Forward
0 new messages