In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to do principal component analysis with DNA sequence in R language. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Some people have left messages asking how to do principal component analysis with DNA sequences, but I don't know at that time, but there is a general idea that is to compare the data first, and then convert the data into commonly used snp data, but it is only limited to the train of thought. I don't know how to operate it at all. I was bored on the way home today. I looked through some information saved on the computer. Found a way: you can use the R language adegenet package, the function used is fasta2genlight ()
As long as the function of fasta2genlight () function
The function fasta2genlight extracts SNPs from alignments with fasta format. Extract snp data from a matched fasta file
Let's start the actual operation.
The adegenet package needs to be installed for the first use. Run the following command directly
Install.packages ("adegenet")
The data set used in today's tweets is the built-in data set of this package. The first thing is to get the storage path of this data set.
Dfpath
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.