Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What is the analysis of SNP data obtained by R language processing gene chip sequencing?

Shulou Source: shulou.com Published: 2022-06-01 22:04:37 10月03日 Update

This article introduces the R language processing gene chip sequencing SNP data analysis is how, the content is very detailed, interested friends can refer to, hope to be helpful to you.

The final data format is as follows: image.png, the first column is the probe id, the second column is the chromosome number, the third column is the chromosome location, the fourth column is the genotype of the first sample, and then the genotype of each sample.

It is equivalent to that each row is a site and each column is a sample.

This dataset is downloaded from the link https://popgen.nescent.org/StartSNP.html

Image.png

The main inner tube of today's tweet is also referenced from this link. The dataset of this link is more than 500 samples and more than 3000 sites. I only selected 30 samples and 996 sites.

The first step is to read in the data

Because it is stored in csv format, read it directly using the read.csv () function

Df1

Tags: Data samples next genes languages loci formats links analysis content functions tutorials gene chips chips processing delimiters multiple more chromosomes references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MySQL Linux OPPO Reno macOS