Error in file(file, ifelse(append, "a", "w")) : cannot open the connection

DefaultAssay(immune.combined) <- "RNA"
m0.markers <- FindConservedMarkers(immune.combined, ident.1 = 0, grouping.var = "stim", verbose = FALSE)
head(m0.markers)

 LPBS_p_val LPBS_avg_logFC LPBS_pct.1 LPBS_pct.2 LPBS_p_val_adj    XPBS_p_val
ENO1   7.453768e-14     -0.4029134      0.849      0.865   1.362102e-09 1.886974e-192
PGK1   3.751431e-19     -0.4890748      0.796      0.896   6.855364e-15 2.223616e-187
ALDOA  1.376251e-20     -0.4669688      0.915      0.943   2.514961e-16 7.331599e-149
LDHA   8.608986e-24     -0.6003426      0.954      0.968   1.573206e-19 1.240812e-148
TUBA1B 3.356650e-05     -0.5658022      0.711      0.740   6.133943e-01  3.339522e-99
GAPDH  1.576429e-36     -0.6100311      1.000      0.998   2.880766e-32  1.777102e-85
       XPBS_avg_logFC XPBS_pct.1 XPBS_pct.2 XPBS_p_val_adj     max_pval minimump_p_val
ENO1       -0.5327901      0.985      0.987  3.448256e-188 7.453768e-14  3.773947e-192
PGK1       -0.6611422      0.895      0.970  4.063436e-183 3.751431e-19  4.447232e-187
ALDOA      -0.4734297      0.984      0.988  1.339776e-144 1.376251e-20  1.466320e-148
LDHA       -0.4424467      0.999      0.997  2.267460e-144 8.608986e-24  2.481624e-148
TUBA1B     -0.7259521      0.844      0.914   6.102643e-95 3.356650e-05   6.679045e-99
GAPDH      -0.2600070      1.000      1.000   3.247477e-81 1.576429e-36   3.554205e-85

Error in file(file, ifelse(append, "a", "w")) : 
  cannot open the connection
In addition: Warning message:
In file(file, ifelse(append, "a", "w")) :
  cannot open file 'm0.markers.xls': Permission denied

文件正在使用。
关闭即可

你可能感兴趣的:(Error in file(file, ifelse(append, "a", "w")) : cannot open the connection)