8000 Pattern matching in clustree.data.frame · Issue #19 · lazappi/clustree · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Pattern matching in clustree.data.frame #19

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 ou 8000 r terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lazappi opened this issue Aug 1, 2018 · 0 comments
Closed

Pattern matching in clustree.data.frame #19

lazappi opened this issue Aug 1, 2018 · 0 comments

Comments

@lazappi
Copy link
Owner
lazappi commented Aug 1, 2018

grepl is used to match data.frame columns with clustering information. If the prefix contains a wildcard character (e.g. ".") that can lead to matching incorrect columns.

A simple solution would be to add fixed = TRUE.

grepl(prefix, colnames(x), fixed = TRUE)
lazappi added a commit that referenced this issue Jan 29, 2020
Fixes some problems but undoes the fix to #19...
lazappi added a commit that referenced this issue Jan 29, 2020
Should match start of column names without running into #19
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

1 participant
0