Thanks for your reply - I actually tried something very similar, which I thought worked until I tried to complete scaling and dimension reduction:
logCounts <- data.table::fread("GSE190772_BoM_logCounts.txt")
BMmetaData <- data.table::fread("GSE190772_BoM_MetaData.txt")
bonemets <- CreateSeuratObject(counts = logCounts, assay = "data", meta.data = BMmetaData)'
all.genes <- rownames(bonemets)
bonemets <- ScaleData(bonemets, features = all.genes)
bonemets <- RunPCA(bonemets, features = VariableFeatures(object = bonemets))
Did I do this correctly? If so, it seems like there is some disagreement between the metadata and count matrix, or something is formatted weirdly...
Console looked like this:
> bonemets <- CreateSeuratObject(counts = logCounts, project = "SeuratProject", assay = "data", meta.data = BMmetaData)
Warning messages:
1: In CreateSeuratObject.default(counts = logCounts, project = "SeuratProject", : Some cells in meta.data not present in provided counts matrix
2: In storage.mode(from) <- "double" : NAs introduced by coercion
all.genes <- rownames(bonemets)
bonemets <- ScaleData(bonemets, features = all.genes)
Centering and scaling data matrix |==========================================================================================| 100%
bonemets <- RunPCA(bonemets, features = VariableFeatures(object = bonemets))
Error in irlba(A = t(x = object), nv = npcs, ...) : max(nu, nv) must be positive