This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in plotting PCA plot in seurat

Hi All,

I am facing following error in single cell analysis using seurat package, error is while plotting PCA and violin plot:

Error in Ops.data.frame(guide_loc, panel_loc) :    ‘==’ only defined or equally-sized data frames

I am using ggplot2 version 3.5.1 and seurat version 5.0.1

Thank you,
Sumeet

pca single-cell seurat scrna rna

Without your code, it is impossible to make any statement. Please provide the code generating that issue.

By googling, here is a similar case

1 answer

You get this error when you try to compare two data frames that have different dimensions. Try using the traceback() command to figure out what part of the code is throwing the error.

Log in to answer this question.