You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to use the PLIER package for pseudobulk analysis of single-cell RNA sequencing data. I have generated pseudobulk data using the PseudobulkExpression function from Seurat and passed it to the PLIER function. However, I encounter an error during the SVD computation:
`
pseudobulk_data <- PseudobulkExpression(
object = seuratObject,
group.by = c("sample", "cell_type"), # Grouping by sample and cell type
assays = "RNA", # Assay to use
features = NULL, # Use all features
method = "average", # Aggregation method
normalization.method = "LogNormalize",# Normalization method
scale.factor = 10000, # Scale factor for normalization
verbose = TRUE, # Print progress
layer = "data"
)
plierResult <- PLIER(pseudobulk_data, allPaths)
ERROR
Selecting common genes: 6078
Removing 12 pathways with too few genes
Computing SVD
Error in svd(Y) : infinite or missing values in 'x'
`
The text was updated successfully, but these errors were encountered:
Could you check if there are any NA or infinite values in pseudobulk_data? If the data looks good, the issues might be due to some genes having constant values (e.g., all zeros) across all cells. By default, PLIER applies the z-score transformation on genes, which can result in constant gens being converted to NA values.
Hello,
I am attempting to use the PLIER package for pseudobulk analysis of single-cell RNA sequencing data. I have generated pseudobulk data using the PseudobulkExpression function from Seurat and passed it to the PLIER function. However, I encounter an error during the SVD computation:
`
pseudobulk_data <- PseudobulkExpression(
object = seuratObject,
group.by = c("sample", "cell_type"), # Grouping by sample and cell type
assays = "RNA", # Assay to use
features = NULL, # Use all features
method = "average", # Aggregation method
normalization.method = "LogNormalize",# Normalization method
scale.factor = 10000, # Scale factor for normalization
verbose = TRUE, # Print progress
layer = "data"
)
plierResult <- PLIER(pseudobulk_data, allPaths)
ERROR
Selecting common genes: 6078
Removing 12 pathways with too few genes
Computing SVD
Error in svd(Y) : infinite or missing values in 'x'
`
The text was updated successfully, but these errors were encountered: