Git Product home page Git Product logo

ggstar's Introduction

ShuangbinXu's github stats Top Langs

๐Ÿ‘‹ Hi there!

ggstar's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ggstar's Issues

Use star symbols with ggnet2

hi Shuangbin,

awesome package, thanks for building and sharing it!

Do you think I could use these symbols with ggnet2?
It has an internal shape = 19 parameter, but the final plot is a ggplot object.

Thanks
Abel

Example

library(GGally)
library(network)
library(sna)
library(ggplot2)

# random graph
net = rgraph(10, mode = "graph", tprob = 0.5)
net = network(net, directed = FALSE)

# vertex names
network.vertex.names(net) = letters[1:10]

ggnet2(net, node.size = 6, node.color = "black", edge.size = 1, edge.color = "grey", node.shape = 18)

Issues with next version of ggplot2

Hi

We preparing the next release of ggplot2 and our reverse dependency checks show that your package is failing with the new version. Looking into it we see that your package somehow includes references to ggplot2 code from when it was build, which causes the check to emit the "Import not declared from..." error. Please see https://www.tidyverse.org/blog/2022/09/playing-on-the-same-team-as-your-dependecy/ for some more info about why this can cause issues.

You can install the release candidate of ggplot2 using devtools::install_github('tidyverse/[email protected]') to test this out.

We plan to submit ggplot2 by the end of October and hope you can have a fix ready before then

Kind regards
Thomas

Is it possible to use the starshapes with geom_node_point from ggraph?

Title: "Question: Using Star Shapes with geom_node_point in ggraph"

Issue Description:
I have a question regarding using star shapes with the geom_node_point function in ggraph.

Is it possible to customize the shape of the points to use star shapes in geom_node_point? If so, what is the syntax or method to achieve this customization?

I've tried exploring the documentation, but I couldn't find a clear example or explanation for using star shapes specifically with geom_node_point. Any guidance or information on this would be greatly appreciated!

Thank you!

Adding semicircle as a primitive

Hi Shuangbin,

I wonder if it makes sense to add a semicircle primitive to the star shapes.

I think ggstar is really helpful in visualizing Visium spatial transcriptomics data. I have used it for some plot like below:

image

Adding a semicircle primitive will allow me to plot the Visium spots as two semicircles.

I have made an attempt on my branch. Could you kindly help me to see if it makes sense?

lch14forever@fc25b39

Thanks,
Chenhao

ggstar with subset?

Hello,

Thanks a lot for the great package. I was wondering if there would be a way to use ggstar with subsetting, something like:

geom_star(aes(subset = (node == 480)), starshape = 25, size = 1.25, fill = '#44AA99', starstroke = .07, show.legend = FALSE)

Many thanks in advance, George.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.