YuLab-SMU/ggmsa

Basic question: how to upload MSA into R to use with ggmsa

Closed this issue · 1 comments

Hi,

I have a very basic question since I am inexperienced with R. How do I upload an MSA of protein sequences saved as a fasta file to R to use with ggmsa? On your website you use:

protein_sequences <- system.file("extdata", "sample.fasta", package = "ggmsa")

However, it seems this function is used to retrieve an premade MSA from the ggmsa package? How would I upload my own MSA?

Thank you,
Franz

Never mind I was able to use the fa_read() from the seqmagick package. Thanks!