input scrna seq data file into R on linux Conda environment
0
0
Entering edit mode
2.1 years ago
sandy • 0

Good afternoon,

I got a problem when I trying to load my scrna seq data into R on linux. My file type is .txt file. And my code similar to this: library(Seurat) library(Matrix) TPM <- read.table("All_Embryo_TPM.txt", sep = "\t", header = TRUE) TPM <- as.matrix(TPM) TPM <- as(TPM, "sparseMatrix")

CreateSeuratObject

data.object <- CreateSeuratObject(counts = TPM, project = "test", min.cells = 3, min.features = 200). But r said: Error: unexpected input in "data.object <- CreateSeuratObject(counts = p399011, project = “". Please help me out.

data input R • 613 views
ADD COMMENT
0
Entering edit mode

I have no problem with your code with a random dataset so could you share an example your data with dput(head(TPM)) ?

ADD REPLY

Login before adding your answer.

Traffic: 1588 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