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

ks parameter input missing in association and association.Seurat functions #4

Open
shobhitagrawal1 opened this issue Jun 16, 2022 · 2 comments

Comments

@shobhitagrawal1
Copy link

Hi,
Thanks for developing and maitaining an R version of the package. Really interesting method!
In the rcna package:

  1. I frequently get this warning:
    " In .association(NAMsvd = list(nam_res$NAM_sampleXpc, nam_res$NAM_svs, :
    data supported use of 5 NAM PCs, which is the maximum considered. Consider allowing more PCs by using the "ks" argument."
    I could subset my data and maybe then 5NAM PCs would be enough but it would be nice to be allowed to test the functions with greater ks.
    I ran through the raw code on github and there is no provision of input for the ks parameter both in the association and association.Seurat function.
  2. Is there a way to extract the neighborhoods and cells belonging to a particular neighborhood ?
    Thank you very much,
    shobhit
@christensensm
Copy link

I'm getting the same message from 1 and would like to allow more PCs! Has this been addressed yet?

Also curious about the second question.

@shobhitagrawal1
Copy link
Author

Hey, this was a long ago. But in general, my tips would be:

  1. Data subsetting
  2. Make sure that variables you are interested in are numeric factors (and not characters by any chance). And the levels make sense in case you subset the data.
    -- although it works for me, the code, one has to be aware that there was an error found in the original python rep. Not sure how this affects the R repo.

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

2 participants