Closed Pancreas-Pratik closed 3 years ago
Thanks for the reproducible example @Pancreas-Pratik, it seems the input has already been normalized (log-transformed).
> mat[1:5, 1:5]
W2108 W3605 W3629 W3723 W365
ENSG00000000003 0 1.5286192959 0.139595909 1.271364144 1.316320848
ENSG00000000005 0 -0.0256210019 0.000000000 0.000000000 -0.005159296
ENSG00000000419 0 1.0344888395 -0.311763211 -0.085970702 0.458058049
ENSG00000000457 0 0.0008419708 0.000000000 0.004414319 0.086613988
ENSG00000000460 0 0.0095650832 0.005143084 0.008371999 0.025515359
> gene_mean <- rowMeans(mat)
> gene_var <- rowVars(as.matrix(mat_exp))
> qplot(gene_mean, gene_var)
SCT requires counts data. There are ways to recover counts from this data, but it would probably be best to get hold of the counts if you can. Feel free to reopen in case you have any follow up questions.
Link to publicly available dataset: https://cells.ucsc.edu/?ds=human-pancreas-dev
Direct Expression Matrix Link: https://cells.ucsc.edu/human-pancreas-dev/fetal-pancreas/exprMatrix.tsv.gz
Direct Meta Data Link: https://cells.ucsc.edu/human-pancreas-dev/fetal-pancreas/meta.tsv
I receive this error after running SCTransform on this dataset.
I have checked the following:
This is everything I have done after downloading the dataset. SCTransform works on other datasets I am using,
Could someone help out with this, please? (Hope I made a good reproducible example. Forgive me if I haven't. Please let me know if you need anything else)