-
Notifications
You must be signed in to change notification settings - Fork 0
Have scatter return point ids #264
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
Conversation
bobular
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - just one comment!
| if (idColumn %in% names(.dt) && nrow(.dt) == uniqueN(.dt[[idColumn]])) { | ||
| idCol <- idColumn | ||
| } else { | ||
| idCol <- NULL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Should this maybe throw an error? Seems like there will be downstream trouble if we asked for point IDs and there's no column to get them from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good idea! I'll add it.
|
Looks good to me on my phone! Consider it approved.
…On Thu, 13 Feb 2025, 15:45 Ann Sizemore Blevins, ***@***.***> wrote:
@asizemore <https://github.com/asizemore> requested your review on: #264
<#264> Have scatter return
point ids.
—
Reply to this email directly, view it on GitHub
<#264 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACLLH4PPNYFK2PGLT5ZYXT2PS4YHAVCNFSM6AAAAABWWZPW3WVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJWGI4TQNZWGAYDEMA>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
Resolves #263
The scatterplot will now return the ids of points if an id column is given and
returnPointIds = TRUE.NOTE: This feature was not implemented for the case where
value=densitynor for when thecorrelationMethod != 'none'. I attempted both, found the former very tough to debug, and found that the latter already was erring (seemain). Since neither are part of production code, nor do we have any plans to make them production code, I'm leaving them as is. I also commented out the failing correlation tests.