• R Documentation

R#
Programming Language

Welcome,
R# (/ˌɑːr ˈʃɑːrp/ ar SHARP) programming language is a kind of R liked vectorized language implements on .NET clr environment for the bioinformatics data analysis.

Get Starts


#' print hello world
const hello = function(word) {
   print(`hello ${word}!`);
}

hello(["world", "R# language"]);
# [1]     "hello world!"       "hello R# language!"

                     

#
Previous Next

Installation

Docker Image

Install a R# Package



DEMO


require(MSImaging);
require(mzkit);
require(ggplot);

options(memory.load = "max");

bitmap(file = "./HR2MSI_mouse_urinary_bladder_S096_RGB.png", size = [3300, 2000]) {
   # load mzpack/imzML raw data file
   # and config ggplot data source driver 
   # as MSImaging data reader
   ggplot(open.mzpack(system.file("data/HR2MSI mouse urinary bladder S096 - Figure1.cdf", package = "MSImaging")),           
      padding = "padding: 200px 600px 200px 250px;"
   ) 
   # rendering of rgb channels ion m/z
   + geom_red(mz = 743.5468, tolerance = "da:0.3")
   + geom_green(mz = 798.5414, tolerance = "da:0.3")
   + geom_blue(mz = 741.5303, tolerance = "da:0.3")
   + theme(panel.background = "black", panel.grid = element_blank())
   + geom_MSIfilters(TrIQ_scale(0.999))
   # add ggplot charting elements
   + ggtitle("HR2MSI mouse urinary bladder S096 - Figure1")
   + labs(x = "Dimension(X)", y = "Dimension(Y)")
   + scale_x_continuous(labels = "F0")
   + scale_y_continuous(labels = "F0")
   ;
}         

About R# Language

The R# language its syntax is original derived from the R language, but with more modernized programming styles. The R# language its interpreter and .NET compiler is original writen in VisualBasic language, with native support for the .NET runtime.
The R# language is not designed for the general programming purpose, it is designed for build bioinformatics analysis workflow and implements specific data analysis methods. It is totaly open source and freely available at anytime.



Source on Github





Artwork Credits

# R# logo from art work: https://www.clipartbest.com/clipart-di85MqodT

Footer background banner artwork image comes from: 水墨 by Lovepik.com

R# is power by Framework

Copyright 2024 All Right Reserved By xieguigang | GuiLin, China | 中國 · 桂林