Probably you have missing data leading to NA
in the correlation matrix? I always use cor(combined.data, method="spearman", use = "pairwise.complete.obs")
which gives no NA
correlations.
Alternatively, easiest is to change the input:
foo <- cor(combined.data, method="spearman")
foo[!is.finite(foo)] <- 0
qgraph(foo)