Skip to content

creating signature #101

Open
Open

Description

@Laurent2873

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

Activity

  1. mattjones315 commented on Nov 24, 2021

    @mattjones315
    Collaborator
  2. Laurent2873 commented on Nov 24, 2021

    @Laurent2873
    Author
  3. Laurent2873 commented on Nov 29, 2021

    @Laurent2873
    Author
  4. Laurent2873 commented on Feb 18, 2022

    @Laurent2873
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions