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

Legend is not showing with show.legend = T #68

Open
davidkim8 opened this issue Apr 26, 2024 · 0 comments
Open

Legend is not showing with show.legend = T #68

davidkim8 opened this issue Apr 26, 2024 · 0 comments

Comments

@davidkim8
Copy link

Hello!

I'm trying to make a simple MSA plot with the following code:

ggmsa(msa = "C:/Users/kimdav/Downloads/Pt_bE_protein_MSA.fa",
      seq_name = T, font = NULL, show.legend = T) + geom_msaBar()

However, for some reason legend isn't really showing up.
image

I also get the following messages:
Coordinate system already present. Adding new coordinate system, which will replace the existing one.
Warning messages:
1: No shared levels found between names(values) of the manual scale and the data's fill values.
2: No shared levels found between names(values) of the manual scale and the data's fill values.

When I try to replicate the example ggmsa(protein_sequences, 164, 213, font = NULL, show.legend = TRUE), the legend still does not show up.
image

Please see below for R.Version() output in case that's helpful:

R.Version()
$platform
[1] "x86_64-w64-mingw32"

$arch
[1] "x86_64"

$os
[1] "mingw32"

$crt
[1] "ucrt"

$system
[1] "x86_64, mingw32"

$status
[1] ""

$major
[1] "4"

$minor
[1] "4.0"

$year
[1] "2024"

$month
[1] "04"

$day
[1] "24"

$svn rev
[1] "86474"

$language
[1] "R"

$version.string
[1] "R version 4.4.0 (2024-04-24 ucrt)"

$nickname
[1] "Puppy Cup"

Thanks!!

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