Signac, CreateChromatinAssay function
0
0
Entering edit mode
3.6 years ago
yzhao140 • 0

I have installed Signac. But there is a error that there is not a function called "CreateChromatinAssay".

library(Signac)
library(Seurat)
library(GenomeInfoDb)
library(EnsDb.Hsapiens.v75)
library(ggplot2)
library(patchwork)
library(hdf5r)
set.seed(1234)

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(":", "-"),
genome = 'hg19',
#fragments = 'atac_v1_pbmc_10k_fragments.tsv.gz',
min.cells = 10,
min.features = 200
)
R Signac Seurat • 1.6k views
ADD COMMENT

Login before adding your answer.

Traffic: 2950 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6