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

FeatureStatPlot error while I follow the tutorial #16

Open
zhangdae opened this issue Dec 18, 2024 · 1 comment
Open

FeatureStatPlot error while I follow the tutorial #16

zhangdae opened this issue Dec 18, 2024 · 1 comment
Labels
more info needed More information is needed

Comments

@zhangdae
Copy link

data(pancreas_sub)
FeatureStatPlot(pancreas_sub, features = c("G2M_score", "nCount_RNA"),
   ident = "SubCellType", facet_scales = "free_y")
>Error in FeatureStatPlot(pancreas_sub, features = c("G2M_score", "nCount_RNA"),  : 
  unused arguments (features = c("G2M_score", "nCount_RNA"), ident = "SubCellType", facet_scales = "free_y")
FeatureStatPlot(pancreas_sub, features = c("G2M_score", "nCount_RNA"),
   ident = "SubCellType", plot_type = "box", facet_scales = "free_y")
>Error in FeatureStatPlot(pancreas_sub, features = c("G2M_score", "nCount_RNA"),  : 
  unused arguments (features = c("G2M_score", "nCount_RNA"), ident = "SubCellType", facet_scales = "free_y")

It could work like this

FeatureStatPlot(pancreas_sub,"Pyy")
屏幕截图 2024-12-18 211747

But if I add features in thee code,same error occurs.

FeatureStatPlot(pancreas_sub, features = c("Pyy"))
>Error in FeatureStatPlot(pancreas_sub, features = c("Pyy")) : 
  unused argument (features = c("Pyy"))
@pwwang
Copy link
Owner

pwwang commented Dec 18, 2024

Two things to try:

  1. make sure you are using FeatureStatPlot from scplotter: scplotter::FeatureStatPlot(...)
  2. ?FeatureStatPlot to check the signature of the function

It'd be helpful if you could attach your session info as well.

@pwwang pwwang added the more info needed More information is needed label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info needed More information is needed
Projects
None yet
Development

No branches or pull requests

2 participants