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

Handle axis names in fscatterplot that have dashes in them #1

Open
lianos opened this issue Feb 19, 2019 · 0 comments
Open

Handle axis names in fscatterplot that have dashes in them #1

lianos opened this issue Feb 19, 2019 · 0 comments

Comments

@lianos
Copy link
Member

lianos commented Feb 19, 2019

Gene names with dashes that end up in data columns for scatterplot b0rk it, eg. like the following data

fds <- exampleFacileDataSet()
dat  <- samples(fds) %>%
  with_assay_data("1") %>%
  with_assay_data("503538")

dat will look like so:

# A tibble: 6 x 4
  dataset sample_id                      A1BG `A1BG-AS1`
  <chr>   <chr>                         <dbl>      <dbl>
1 BLCA    TCGA-BL-A0C8-01A-11R-A10U-07 -0.154      -2.65
2 BLCA    TCGA-BL-A13I-01A-11R-A13Y-07  2.74       -1.89
3 BLCA    TCGA-BL-A13J-01A-11R-A10U-07  0.726      -2.05
4 BLCA    TCGA-BL-A3JM-01A-12R-A21D-07  0.171      -2.16
5 BLCA    TCGA-BT-A0S7-01A-11R-A10U-07  2.38       -2.29
6 BLCA    TCGA-BT-A0YX-01A-11R-A10U-07  0.152      -2.37

But fscatterplot(dat, c("A1BG", "A1BG-AS1")) errors out

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