This is a test version of Biostars. For the public version, visit https://www.biostars.org.
input scrna seq data file into R on linux Conda environment

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

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

0 answers

No answers yet.

Log in to answer this question.