The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

KRIS

R-CMD-check CRAN status License: MIT Lifecycle: maturing FOSSA Status

KRIS (Keen and Reliable Interface Subroutines for bioinformatic analysis) is an R package for common steps in the analysis of numeric and SNP data. It can:

Installation

Install the released version from CRAN:

install.packages("KRIS")

Or install the development version from GitHub:

install.packages("remotes")
remotes::install_github("kridsadakorn/kris", dependencies = TRUE)

Documentation

The reference manual is at https://www.biostatgen.org/kris/.

Example

Load the package and the example data:

library(KRIS)

data(example_SNP)

example_SNP holds two objects: the simulated SNP data simsnp and the population label of each individual, sample_labels.

summary(simsnp)
#>          Length Class      Mode   
#> snp      206000 -none-     numeric
#> snp.info      6 data.frame list   
#> ind.info      6 data.frame list
summary(sample_labels)
#>    Length     Class      Mode 
#>       103 character character

Calculate the first three principal components:

PCs <- cal.pc.linear(simsnp$snp, no.pc = 3)

Plot them in three views, colored by population:

plot3views( PCs$PC, sample_labels)

License

FOSSA Status

About

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.