Skip to content

meta_narnea/PISCESActivity: prep...Error: $ operator is invalid for atomic vectors #19

@stanaka6

Description

@stanaka6

Hi,

Thank you for developing this wonderful tool!

I am facing the following error: Data prep...Error: $ operator is invalid for atomic vectors when I run meta_narnea or PISCESActivity. Could you please help me to solve this issue?

Also, I have a question about vignettes/pisces_pbmc.Rmd. What is "narnea.res" in Line 102? Is this output of meta_narnea?

Further information is below:

  • My Seurat object is an integrated processed (filtering, clustering, etc) data.
  • I generated ARACNe3_Final_Network_List by following NaRnEA Manuscript - Head and Neck Squamous Cell Carcinoma vignette, except I didn't separate the gene expression profile into two conditions, but I used intact expression matrix as the input.
mySeurat <- readRDS("/path/to/mySeuratObject.rds")
counts <- as.matrix(mySeurat@assays$RNA@counts)
filt.counts <- qc_filt(counts,max.depth = 25000, species = "mur")
gexp.ges <- internal_ges(filt.counts, norm.method = 'pflpf', est.method = 'map')
net.list <- readRDS("/path/to/myARACNe3_Final_Network_List.rds")
narnea.res <- meta_narnea(gexp.ges, net.list, sample.weights = TRUE)

Data prep...Error: $ operator is invalid for atomic vectors

or

mySeurat <- readRDS("/path/to/mySeuratObject.rds")
net.list <- readRDS("/path/to/myARACNe3_Final_Network_List.rds")
mySeurat <- AddPISCESAssay(mySeurat, stage = "pact") 
mySeurat <- AddPISCESAssay(mySeurat, stage = "gexp") 
mySeurat <- NormalizeExpression(mySeurat, method = "pflogpf", filt.per = 0.01) 
mySeurat <- AddGES(mySeurat, method = "scale")
mySeurat <- AddNetworks(mySeurat, net.list) 
mySeurat <- PISCESActivity(mySeurat, net.list, sample.weights = TRUE, use.sct = FALSE)

WARNING: Running meta_narnea with sample.weights = TRUE may be very slow for large number of samples.
Data prep...Error: $ operator is invalid for atomic vectors

Package versions

  • PISCES_0.0.0.9000
  • Seurat_4.3.0
  • DirichletReg_0.7-1
  • RSpectra_0.16-1

Any suggestions would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions