Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to count a set of SNP data in R language

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to count a group of SNP data in R language". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how R language counts a group of SNP data".

How to count a group of SNP data (frequency, temperature balance test) sample data 1. Load the SNPassoc package

We're going to use the functions inside to calculate.

Library (SNPassoc)

If SNPassoc is not installed, use install.packages () to install it.

two。 Load data data (SNPs)

View SNPs data

SNPs [1:10,1:9] idcascosexblood.preproteinsnp10001snp10002snp10003snp1000411Female13.775640.52TTCCGGGG21Female12.728688.22TTACGGGG31Female12.917279.59TTCCGGGG41Male14.627253.99CTCCGGGG51Female13.438066.57TTACGGGG61Female11.39872.46TTCCGGGG71Female11.911132.90TTACGGGG81Male12.429973.43TTACGGGG91Male14.531114.29CTCCGGGG101Female12.241768.55TTACGGGG3. If we want to do a Harwin test on SNP10001,

Using the summary function of SNPassoc, the summary information of the SNP is returned, including Harwin test.

Mysnp

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report