YuLab-SMU/ggmsa

new problem in the GGMsa

Closed this issue · 3 comments

new problem in the GGMsa

我在用ggmsa进行两两序列的差异比较可视化时,在运行“x=seqdiff(fas[1])”老是显示错误“'filepath' must be a character vector with no NAs”,可是我的文件路径已经很简化,问题依然有,请帮忙给看看问题出在哪儿?
112.txt

模板
问题

你好, @fishboyID

我使用了你提供的示例文件112.txt,它在seqdiff函数中是可以正常使用的,请看下面代码:

## Use the .fas suffix instead of .txt

library(ggmsa)
x <- seqdiff(fasta = "112.fas")
plot(x)

image

需要注意的是:seqdiff 函数的第一个参数fasta需要输入fasta文件路径。

我看到你已经设置了工作路径为: E\seq,并且工作目录包含对应双序列比对文件,
所以可以直接在seqdiff中输入对应文件,如:seqdiff("11.fasta")

YuLab,
Zhou Lang

周老师,太感谢您了,我按照您的指导重现了您操作的结果,万分感谢。