You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Seurat V 5.0.2 , TSSEnrichment fails with in an attempt to look for slot instead of layer:
Error in slot(object = object, name = layer) :
argument "slot" is missing, with no default
Using vignette code from: https://stuartlab.org/signac/articles/pbmc_vignette, I am able to reproduce the same issue I am finding in my own analysis. For the vignette code, the following should be sufficient to reproduce it:
library(Signac)
library(Seurat)
library(EnsDb.Hsapiens.v75)
library(ggplot2)
library(patchwork)
counts<- Read10X_h5(filename="./atac_v1_pbmc_10k_filtered_peak_bc_matrix.h5")
metadata<- read.csv(
file="./atac_v1_pbmc_10k_singlecell.csv",
header=TRUE,
row.names=1
)
chrom_assay<- CreateChromatinAssay(
counts=counts,
sep= c(":", "-"),
fragments='./atac_v1_pbmc_10k_fragments.tsv.gz',
min.cells=10,
min.features=200
)
pbmc<- CreateSeuratObject(
counts=chrom_assay,
assay="peaks",
meta.data=metadata
)
pbmc[['peaks']]
granges(pbmc)
# extract gene annotations from EnsDbannotations<- GetGRangesFromEnsDb(ensdb=EnsDb.Hsapiens.v75)
# change to UCSC style since the data was mapped to hg19
seqlevels(annotations) <- paste0('chr', seqlevels(annotations))
genome(annotations) <-"hg19"# add the gene information to the object
Annotation(pbmc) <-annotations# compute nucleosome signal score per cellpbmc<- NucleosomeSignal(object=pbmc)
# compute TSS enrichment score per cellpbmc<- TSSEnrichment(object=pbmc, fast=FALSE) #error: argument "slot" is missing, with no default
Below is my local computer environment, but I am also seeing the issue from a custom made Singularity container (not shown here, can updated if needed; both environments contain Seurat V5 (5.0.2) + latest version of Signac, 1.12.0).
Hello!
With Seurat V 5.0.2 ,
TSSEnrichment
fails with in an attempt to look forslot
instead oflayer
:Using vignette code from: https://stuartlab.org/signac/articles/pbmc_vignette, I am able to reproduce the same issue I am finding in my own analysis. For the vignette code, the following should be sufficient to reproduce it:
Below is my local computer environment, but I am also seeing the issue from a custom made Singularity container (not shown here, can updated if needed; both environments contain Seurat V5 (5.0.2) + latest version of Signac, 1.12.0).
The text was updated successfully, but these errors were encountered: