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

creating signature #101

Open
Laurent2873 opened this issue Nov 24, 2021 · 4 comments
Open

creating signature #101

Laurent2873 opened this issue Nov 24, 2021 · 4 comments

Comments

@Laurent2873
Copy link

Hi,

I have created a named vector and I used 1 for the value of every gene.

str(sigData)
Named num [1:253] 1 1 1 1 1 1 1 1 1 1 ...

  • attr(*, "names")= chr [1:253] "IFIT3" "IFIT3B" "IFIT1" "ISG15" ...

signature <- createGeneSignature(name = "Signature", sigData = sigData)

mySignature <- c(signature)

vision.obj <- Vision(filtered_seurat, signatures = mySignature, projection_methods = NULL)

vision.obj <- analyze(vision.obj)
Beginning Analysis

Clustering cells...completed

Projecting data into 2 dimensions...

Evaluating signature scores on cells...

|==============================================================================================| 100%, Elapsed 00:00
Evaluating signature-gene importance...

| | 0%, ETA NA
Error in E %% Cs %% S - Rog %% (Roc %% S) + Cog %% (Coc %% (Cs %*% :
Matrices must have same number of rows for arithmetic

I can run with signatures when loaded from MisigDb but I get this error when I load my signature. I must be doing something wrong in creating the signature from the file.
Any help appreciated.

Thanks

@mattjones315
Copy link
Collaborator

mattjones315 commented Nov 24, 2021 via email

@Laurent2873
Copy link
Author

Laurent2873 commented Nov 24, 2021 via email

@Laurent2873
Copy link
Author

Laurent2873 commented Nov 29, 2021 via email

@Laurent2873
Copy link
Author

Laurent2873 commented Feb 18, 2022 via email

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