Last data update: 2014.03.03

R: Information of 17,348 SNPs on chromosome 22.
snpInfoR Documentation

Information of 17,348 SNPs on chromosome 22.

Description

Information of 17,348 SNPs on chromosome 22.

Usage

data(snpInfo)

Format

A data frame with 17348 observations on the following 4 variables.

Name

a character vector of probe Names

Chr

a character vector of chromosomes of each probe

Position

a numeric vector of genomic position of each probe

PFB

a numeric vector of population frequency of B allele for each probe. For copy number only probes, PFB=2.0

Examples


data(snpData)
data(snpInfo)

dim(snpData)
dim(snpInfo)

snpData[1:2,]
snpInfo[1:2,]

plotCN(pos=snpInfo$Position, LRR=snpData$LRR, BAF=snpData$BAF, 
main = "simulated data on Chr22")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(genoCN)
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/genoCN/snpInfo.Rd_%03d_medium.png", width=480, height=480)
> ### Name: snpInfo
> ### Title: Information of 17,348 SNPs on chromosome 22.
> ### Aliases: snpInfo
> ### Keywords: datasets
> 
> ### ** Examples
> 
> 
> data(snpData)
> data(snpInfo)
> 
> dim(snpData)
[1] 17348     3
> dim(snpInfo)
[1] 17348     4
> 
> snpData[1:2,]
       Name        LRR         BAF
1 rs2334386 -0.2440655 1.000000000
2 rs9617528 -0.1422038 0.007824231
> snpInfo[1:2,]
             Name Chr Position   PFB
1075853 rs2334386  22 14430353 0.956
1075854 rs9617528  22 14441016 0.176
> 
> plotCN(pos=snpInfo$Position, LRR=snpData$LRR, BAF=snpData$BAF, 
+ main = "simulated data on Chr22")
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>