Pheatmap column names can’t show special characters

I am trying to create a heatmap with pheatmap - everything seems great, but for one issue
The column names are genes such as Aaa(B) and C(3’’)-d
The thing is, I can’t seem to read the special characters - they turn into dots - Aaa..B. And C.3….d

I tried reading the matrix using

mat <- read.delim(file, header=T, row.names = “name”)

Is there a way to read the special characters?

Thanks in advance,

You should try the readr package
Read Rectangular Text Data • readr (tidyverse.org)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.