content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
epc.df <- read.delim("household_power_consumption.txt", sep=";", na.strings="?",as.is=TRUE) epc.df <- epc.df[ epc.df$Date=="1/2/2007" | epc.df$Date=="2/2/2007",] epc.df$Date_Time <- strptime( paste( epc.df$Date, epc.df$Time), format="%d/%m/%Y %H:%M:%S") png("plot2.png") with( epc.df, plot(Date_Time, Global_ac...
/plot2.R
no_license
RonWilkinson/ExData_Plotting1
R
false
false
404
r
epc.df <- read.delim("household_power_consumption.txt", sep=";", na.strings="?",as.is=TRUE) epc.df <- epc.df[ epc.df$Date=="1/2/2007" | epc.df$Date=="2/2/2007",] epc.df$Date_Time <- strptime( paste( epc.df$Date, epc.df$Time), format="%d/%m/%Y %H:%M:%S") png("plot2.png") with( epc.df, plot(Date_Time, Global_ac...
# calculates model averages for sloop data using # data held in memory sloop_model_average <- function (start_year) { suppressMessages(conflict_prefer("filter", "dplyr")) suppressMessages(conflict_prefer("here", "here")) ModSet <- ModList # reading intervals intervals.ch <- scan(paste0(site_species, "_sur...
/R/sloop_model_average.R
no_license
NathanWhitmore/GAOSrmark
R
false
false
4,730
r
# calculates model averages for sloop data using # data held in memory sloop_model_average <- function (start_year) { suppressMessages(conflict_prefer("filter", "dplyr")) suppressMessages(conflict_prefer("here", "here")) ModSet <- ModList # reading intervals intervals.ch <- scan(paste0(site_species, "_sur...
library(tidyverse) tx <-as.numeric(Sys.getenv("SGE_TASK_ID")) gc.correct <- function(coverage, bias) { i <- seq(min(bias, na.rm=TRUE), max(bias, na.rm=TRUE), by = 0.001) coverage.trend <- loess(coverage ~ bias) coverage.model <- loess(predict(coverage.trend, i) ~ i) coverage.pred <- predict(coverage.mo...
/03-bin_compartments.r
no_license
Shicheng-Guo/mDELLFI
R
false
false
3,678
r
library(tidyverse) tx <-as.numeric(Sys.getenv("SGE_TASK_ID")) gc.correct <- function(coverage, bias) { i <- seq(min(bias, na.rm=TRUE), max(bias, na.rm=TRUE), by = 0.001) coverage.trend <- loess(coverage ~ bias) coverage.model <- loess(predict(coverage.trend, i) ~ i) coverage.pred <- predict(coverage.mo...
num_samp = 50000 lambda = 0.2 x <- rexp(num_samp, lambda) ##Create a SCatter plot below data <- rexp(num_samp, 0.2) q <- data.frame(X = seq(1, num_samp , 1), Y = sort(data)) plot(q) #Sys.sleep(1) collection <- split(x, ceiling(seq_along(x)/100)) some_means <- c() sds <- c() for (i in 1:5){ hx <- dexp(collection[[i]])...
/a10/160392.r
no_license
mayanksha/CS251
R
false
false
2,070
r
num_samp = 50000 lambda = 0.2 x <- rexp(num_samp, lambda) ##Create a SCatter plot below data <- rexp(num_samp, 0.2) q <- data.frame(X = seq(1, num_samp , 1), Y = sort(data)) plot(q) #Sys.sleep(1) collection <- split(x, ceiling(seq_along(x)/100)) some_means <- c() sds <- c() for (i in 1:5){ hx <- dexp(collection[[i]])...
\name{mfboot-package} \alias{mfboot-package} \alias{mfboot} \docType{package} \title{ What the package does (short line) ~~ package title ~~ } \description{ More about what it does (maybe more than one line) ~~ A concise (1-5 lines) description of the package ~~ } \details{ \tabular{ll}{ Package: \tab mfboot\cr Type: \...
/man/mfboot-package.Rd
no_license
kristang/mfboot
R
false
false
1,023
rd
\name{mfboot-package} \alias{mfboot-package} \alias{mfboot} \docType{package} \title{ What the package does (short line) ~~ package title ~~ } \description{ More about what it does (maybe more than one line) ~~ A concise (1-5 lines) description of the package ~~ } \details{ \tabular{ll}{ Package: \tab mfboot\cr Type: \...
#'Create confidence interval #' #'This function, given a sample set, applies a specified function to the set, and creates a confidence interval based on a specified alpha value. It also creates a histogram of the distribution and plots the interval. #' #'@param iter number of iterations #'@param x sample #'@param fun f...
/R/myboot2.R
no_license
eric7chen/MATH4753chen0122
R
false
false
1,936
r
#'Create confidence interval #' #'This function, given a sample set, applies a specified function to the set, and creates a confidence interval based on a specified alpha value. It also creates a histogram of the distribution and plots the interval. #' #'@param iter number of iterations #'@param x sample #'@param fun f...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/adag.R \name{HasTransformation} \alias{HasTransformation} \title{Check to see if transformation is in the ADAG} \usage{ HasTransformation(adag, transformation) } \arguments{ \item{adag}{ADAG object} \item{transformation}{Transformati...
/packages/pegasus-dax-r/Pegasus/DAX/man/HasTransformation.Rd
permissive
ryantanaka/pegasus
R
false
false
502
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/adag.R \name{HasTransformation} \alias{HasTransformation} \title{Check to see if transformation is in the ADAG} \usage{ HasTransformation(adag, transformation) } \arguments{ \item{adag}{ADAG object} \item{transformation}{Transformati...
## ODE model class ------------------------------------------------------------------- #' Generate the model objects for use in Xs (models with sensitivities) #' #' @param f Something that can be converted to \link{eqnvec}, #' e.g. a named character vector with the ODE #' @param deriv logical, generate sensitivities ...
/R/classes.R
no_license
cran/dMod
R
false
false
55,029
r
## ODE model class ------------------------------------------------------------------- #' Generate the model objects for use in Xs (models with sensitivities) #' #' @param f Something that can be converted to \link{eqnvec}, #' e.g. a named character vector with the ODE #' @param deriv logical, generate sensitivities ...
# Libraries --------------------------------------------------------------- library(mvnfast) # Data Simulation --------------------------------------------------------- source("data_simulation.R") # Initialization ---------------------------------------------------------- al <- 0.5 * rep(1, km) # gamma hyperparame...
/gibbs_sampler.R
no_license
Derenik-H/factor-analysis
R
false
false
3,503
r
# Libraries --------------------------------------------------------------- library(mvnfast) # Data Simulation --------------------------------------------------------- source("data_simulation.R") # Initialization ---------------------------------------------------------- al <- 0.5 * rep(1, km) # gamma hyperparame...
\name{plotRiskscorePredrisk} \alias{plotRiskscorePredrisk} \title{Function to plot predicted risks against risk scores.} \usage{plotRiskscorePredrisk(data, riskScore, predRisk, plottitle, xlabel, ylabel, rangexaxis, rangeyaxis, filename, fileplot, plottype)} \description{This function is used to make a plot of pr...
/man/plotRiskscorePredrisk.Rd
no_license
cran/PredictABEL
R
false
false
3,603
rd
\name{plotRiskscorePredrisk} \alias{plotRiskscorePredrisk} \title{Function to plot predicted risks against risk scores.} \usage{plotRiskscorePredrisk(data, riskScore, predRisk, plottitle, xlabel, ylabel, rangexaxis, rangeyaxis, filename, fileplot, plottype)} \description{This function is used to make a plot of pr...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/userstats.R \name{userstats} \alias{userstats} \title{userstats} \usage{ userstats(user, n = 1000, bg_col = "white", txt_col = "#1A5276", year = 2019, x = 10) } \arguments{ \item{user}{username of a real Twitter account that the user wishes...
/man/userstats.Rd
permissive
Cyanjiner/rtweetstats
R
false
true
1,724
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/userstats.R \name{userstats} \alias{userstats} \title{userstats} \usage{ userstats(user, n = 1000, bg_col = "white", txt_col = "#1A5276", year = 2019, x = 10) } \arguments{ \item{user}{username of a real Twitter account that the user wishes...
\name{cca} \alias{cca} \alias{cca.default} \alias{cca.formula} \alias{rda} \alias{rda.default} \alias{rda.formula} \title{ [Partial] [Constrained] Correspondence Analysis and Redundancy Analysis } \description{ Function \code{cca} performs correspondence analysis, or optionally constrained correspondence analys...
/man/cca.Rd
no_license
kevinwkc/vegan
R
false
false
13,484
rd
\name{cca} \alias{cca} \alias{cca.default} \alias{cca.formula} \alias{rda} \alias{rda.default} \alias{rda.formula} \title{ [Partial] [Constrained] Correspondence Analysis and Redundancy Analysis } \description{ Function \code{cca} performs correspondence analysis, or optionally constrained correspondence analys...
\name{agreementplot} \alias{agreementplot} \alias{agreementplot.default} \alias{agreementplot.formula} \title{Bangdiwala's Observer Agreement Chart} \description{ Representation of a \eqn{k \times k}{k by k} confusion matrix, where the observed and expected diagonal elements are represented by superposed black an...
/man/agreementplot.Rd
no_license
cran/vcd
R
false
false
4,905
rd
\name{agreementplot} \alias{agreementplot} \alias{agreementplot.default} \alias{agreementplot.formula} \title{Bangdiwala's Observer Agreement Chart} \description{ Representation of a \eqn{k \times k}{k by k} confusion matrix, where the observed and expected diagonal elements are represented by superposed black an...
testlist <- list(c = -1499027802L, r = 178693798L) result <- do.call(landscapemetrics:::triangular_index,testlist) str(result)
/landscapemetrics/inst/testfiles/triangular_index/libFuzzer_triangular_index/triangular_index_valgrind_files/1609955215-test.R
no_license
akhikolla/newtestfiles-2
R
false
false
126
r
testlist <- list(c = -1499027802L, r = 178693798L) result <- do.call(landscapemetrics:::triangular_index,testlist) str(result)
# this script serves no other purpose other then generating multidimensional tables for genomic repeat contant rm(list = ls()) setwd("~/Documents/phd/Desktop analyses/new_PCA/script") # new PCA on chr 16 repeats require(GenomicRanges) bin <- read.table("../bins/H_bin.txt", header=T) bin.gr <- GRanges( seqname...
/sort_repeats.R
no_license
ReubenBuck/Repeat_Distributions
R
false
false
2,357
r
# this script serves no other purpose other then generating multidimensional tables for genomic repeat contant rm(list = ls()) setwd("~/Documents/phd/Desktop analyses/new_PCA/script") # new PCA on chr 16 repeats require(GenomicRanges) bin <- read.table("../bins/H_bin.txt", header=T) bin.gr <- GRanges( seqname...
################################################## ## Script to get sequence (not SNV/SNP masked) ## around SNV or indels to design primers for ## Targeted resequencing on the MiSeq ## Aparicio Lab WSOP 2013-001 developed by ## Dr Damian Yap , Research Associate ## dyap@bccrc.ca Version 3.0 (Sep 2...
/beast_scripts/v3.1_pipeline/v3.1_GetSeq.R
no_license
oncoapop/data_reporting
R
false
false
5,507
r
################################################## ## Script to get sequence (not SNV/SNP masked) ## around SNV or indels to design primers for ## Targeted resequencing on the MiSeq ## Aparicio Lab WSOP 2013-001 developed by ## Dr Damian Yap , Research Associate ## dyap@bccrc.ca Version 3.0 (Sep 2...
library(mapdeck) library(sf) library(Hmisc) key <- "pk.eyJ1IjoiaWZlbGxvd3MiLCJhIjoiY2tmNDd3dXZrMGFqOTJzb2V2azB3YnZ5aCJ9.nG777E-EH37e5wAJdsykug" load("shiny_app/data/data.RData") df_plot_sub <- df_raw[df_raw$time_ind== max(df_raw$time_ind)#14 ,] df_plot_sub <- as(df_plot_su...
/index_test_mapping/R/scratch.R
no_license
ICPI/Denominators
R
false
false
2,323
r
library(mapdeck) library(sf) library(Hmisc) key <- "pk.eyJ1IjoiaWZlbGxvd3MiLCJhIjoiY2tmNDd3dXZrMGFqOTJzb2V2azB3YnZ5aCJ9.nG777E-EH37e5wAJdsykug" load("shiny_app/data/data.RData") df_plot_sub <- df_raw[df_raw$time_ind== max(df_raw$time_ind)#14 ,] df_plot_sub <- as(df_plot_su...
library(rich) ### Name: c2cv ### Title: Comparison of 2 values of species richness using a randomization ### procedure ### Aliases: c2cv ### ** Examples ## Not run: ##D data(efeb) ##D c2cv(com1=efeb$ef,com2=efeb$eb,nrandom=100,verbose=FALSE) ## End(Not run)
/data/genthat_extracted_code/rich/examples/c2cv.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
267
r
library(rich) ### Name: c2cv ### Title: Comparison of 2 values of species richness using a randomization ### procedure ### Aliases: c2cv ### ** Examples ## Not run: ##D data(efeb) ##D c2cv(com1=efeb$ef,com2=efeb$eb,nrandom=100,verbose=FALSE) ## End(Not run)
source("bootstrap_stability_investigation.R") source("bootlasso.R") f <- function(bootsamp=a2.i, model= model2.imp, start.end=NULL, maxit=100){ d <- data.frame(i=NULL, glmm=NULL, lrmm=NULL) fmla <- model$model$global_model$formula if(is.null(start.end)){ start.end <- 1:ncol(bootsamp) } cat("\n\n\n") ...
/bsi_mypaper.R
no_license
jasonliao2jesus/bully_inv
R
false
false
4,147
r
source("bootstrap_stability_investigation.R") source("bootlasso.R") f <- function(bootsamp=a2.i, model= model2.imp, start.end=NULL, maxit=100){ d <- data.frame(i=NULL, glmm=NULL, lrmm=NULL) fmla <- model$model$global_model$formula if(is.null(start.end)){ start.end <- 1:ncol(bootsamp) } cat("\n\n\n") ...
library(magrittr) library(ggplot2) library(patchwork) library(warbleR) setwd("data-raw/wav_testes/") # "Strix-hylophila-1953532" id = list.files("./", "Strix-hylophila") %>% sample(1) %>% stringr::str_replace(".rds", "") ## wav_orig <- tuneR::readWave(glue::glue("{id}")) wav_bd <- data.frame( sound.files = gl...
/inst/analises/z_warbler.R
permissive
Athospd/mestrado
R
false
false
649
r
library(magrittr) library(ggplot2) library(patchwork) library(warbleR) setwd("data-raw/wav_testes/") # "Strix-hylophila-1953532" id = list.files("./", "Strix-hylophila") %>% sample(1) %>% stringr::str_replace(".rds", "") ## wav_orig <- tuneR::readWave(glue::glue("{id}")) wav_bd <- data.frame( sound.files = gl...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_traits.R \name{get_traits_by_pubmed_id} \alias{get_traits_by_pubmed_id} \title{Get GWAS Catalog traits by PubMed identifiers} \usage{ get_traits_by_pubmed_id( pubmed_id = NULL, verbose = FALSE, warnings = TRUE, page_size = 20L ) }...
/man/get_traits_by_pubmed_id.Rd
permissive
ramiromagno/gwasrapidd
R
false
true
1,048
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_traits.R \name{get_traits_by_pubmed_id} \alias{get_traits_by_pubmed_id} \title{Get GWAS Catalog traits by PubMed identifiers} \usage{ get_traits_by_pubmed_id( pubmed_id = NULL, verbose = FALSE, warnings = TRUE, page_size = 20L ) }...
# install a loads needed libraries installif <- function(p) { if (!p %in% rownames(installed.packages())) install.packages(p) TRUE } sapply(c("dplyr", "lubridate"), installif) library(dplyr) library(lubridate) # fetch the zip file from internet and extract content (if needed) fileUrl <- "https://d3...
/plot4.R
no_license
dwerbam/ExData_Plotting1
R
false
false
3,059
r
# install a loads needed libraries installif <- function(p) { if (!p %in% rownames(installed.packages())) install.packages(p) TRUE } sapply(c("dplyr", "lubridate"), installif) library(dplyr) library(lubridate) # fetch the zip file from internet and extract content (if needed) fileUrl <- "https://d3...
library(Seurat) library(TITAN) #library(devtools) #install_github("JuliusCampbell/TITAN") scBC_SO <- readRDS(file = "C:/Users/jainar/Documents/Arjun High School/High School Science Research/OHSU Internship - CEDAR/KLF4 Analysis of Chung et al dataset/scBC_SO.rds") DimPlot(scBC_SO, reduction = "umap", label = TRU...
/KLF4 Analysis of Chung et al data.R
no_license
arjun0502/CEDAR
R
false
false
1,549
r
library(Seurat) library(TITAN) #library(devtools) #install_github("JuliusCampbell/TITAN") scBC_SO <- readRDS(file = "C:/Users/jainar/Documents/Arjun High School/High School Science Research/OHSU Internship - CEDAR/KLF4 Analysis of Chung et al dataset/scBC_SO.rds") DimPlot(scBC_SO, reduction = "umap", label = TRU...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/var_dif_fis.R \name{var_dif_fis} \alias{var_dif_fis} \title{var_dif_fis} \usage{ var_dif_fis(n, r, rho) } \arguments{ \item{n}{A numerical value specifying the total sample size of a primary study} \item{r}{A numerical value speci...
/puniform/man/var_dif_fis.Rd
no_license
akhikolla/TestedPackages-NoIssues
R
false
true
1,877
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/var_dif_fis.R \name{var_dif_fis} \alias{var_dif_fis} \title{var_dif_fis} \usage{ var_dif_fis(n, r, rho) } \arguments{ \item{n}{A numerical value specifying the total sample size of a primary study} \item{r}{A numerical value speci...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/py_func.R \name{py_func} \alias{py_func} \title{Wrap an R function in a Python function with the same signature.} \usage{ py_func(f) } \arguments{ \item{f}{An R function} } \value{ A Python function that calls the R function \code{f} with the...
/man/py_func.Rd
permissive
rstudio/reticulate
R
false
true
540
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/py_func.R \name{py_func} \alias{py_func} \title{Wrap an R function in a Python function with the same signature.} \usage{ py_func(f) } \arguments{ \item{f}{An R function} } \value{ A Python function that calls the R function \code{f} with the...
# library(readr) # library(magrittr) library(pins) pin_from_bucket <- function( filename, prefix = c("practice-level", "ONS-postcodes"), pin_name = filename ) { prefix <- match.arg(prefix) base_url <- "https://nhs-prescription-data.s3-us-west-2.amazonaws.com" bucket_url <- paste(base_url, prefix, filename...
/R/pin_data.R
no_license
andrie/nhs_prescriptions
R
false
false
390
r
# library(readr) # library(magrittr) library(pins) pin_from_bucket <- function( filename, prefix = c("practice-level", "ONS-postcodes"), pin_name = filename ) { prefix <- match.arg(prefix) base_url <- "https://nhs-prescription-data.s3-us-west-2.amazonaws.com" bucket_url <- paste(base_url, prefix, filename...
\name{gts.hierarchy} \alias{gts.hierarchy} \title{ Get the broader and narrower concept of one geological time concept in database } \description{Get the broader and narrower concept of one geological time concept in database } \usage{ gts.hierarchy(geoConcept, region = NULL, iscVersion = NULL, prefix = NULL, graph = N...
/R_Functions/man/gts.hierarchy.Rd
permissive
xgmachina/DeepTimeKB
R
false
false
1,358
rd
\name{gts.hierarchy} \alias{gts.hierarchy} \title{ Get the broader and narrower concept of one geological time concept in database } \description{Get the broader and narrower concept of one geological time concept in database } \usage{ gts.hierarchy(geoConcept, region = NULL, iscVersion = NULL, prefix = NULL, graph = N...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/trimFilter.R \name{filterWidth} \alias{filterWidth} \title{Trim reads containing too few bases} \usage{ filterWidth(threshold = 14L, .name = "WidthFilter") } \description{ Trim reads containing too few bases }
/man/filterWidth.Rd
no_license
jliu678/SeqWins
R
false
true
288
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/trimFilter.R \name{filterWidth} \alias{filterWidth} \title{Trim reads containing too few bases} \usage{ filterWidth(threshold = 14L, .name = "WidthFilter") } \description{ Trim reads containing too few bases }
# Find Inter Class Correlation between factor and continuous covariates # Inspired from http://stats.stackexchange.com/questions/108007/correlations-with-categorical-variables getFactorContAssociationStatistics <- function(factorContNames,COVARIATES, na.action='remove', a...
/code/R/lib/getFactorContAssociationStatistics.R
permissive
kdaily/pcbc_c4_analysis
R
false
false
715
r
# Find Inter Class Correlation between factor and continuous covariates # Inspired from http://stats.stackexchange.com/questions/108007/correlations-with-categorical-variables getFactorContAssociationStatistics <- function(factorContNames,COVARIATES, na.action='remove', a...
\docType{data} \name{capitanes} \alias{capitanes} \title{Tabla de capitanes} \format{Un data frame con 3.504 filas y 10 columnas \describe{ \item{id_jugador}{ID del jugador} \item{anio}{Año} \item{id_equipo}{ID equipo (factor)} \item{id_liga}{ID liga (factor)} \item{en_temporada}{Cero si fue capitán del equipo al equip...
/man/capitanes.rd
permissive
cienciadedatos/datos
R
false
false
1,030
rd
\docType{data} \name{capitanes} \alias{capitanes} \title{Tabla de capitanes} \format{Un data frame con 3.504 filas y 10 columnas \describe{ \item{id_jugador}{ID del jugador} \item{anio}{Año} \item{id_equipo}{ID equipo (factor)} \item{id_liga}{ID liga (factor)} \item{en_temporada}{Cero si fue capitán del equipo al equip...
\name{imageanalysisBrain-package} \alias{imageanalysisBrain-package} \alias{imageanalysisBrain} \docType{package} \title{ \packageTitle{imageanalysisBrain} } \description{ \packageDescription{imageanalysisBrain} } \details{ The DESCRIPTION file: \packageDESCRIPTION{imageanalysisBrain} \packageIndices{imageanalysisBrai...
/man/imageanalysisBrain-package.Rd
no_license
mknoll/imageanalysisBrain
R
false
false
443
rd
\name{imageanalysisBrain-package} \alias{imageanalysisBrain-package} \alias{imageanalysisBrain} \docType{package} \title{ \packageTitle{imageanalysisBrain} } \description{ \packageDescription{imageanalysisBrain} } \details{ The DESCRIPTION file: \packageDESCRIPTION{imageanalysisBrain} \packageIndices{imageanalysisBrai...
de9a6782f378655603c4fbc189c93495 incrementer-enc07-nonuniform-depth-6.qdimacs 4964 12846
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Miller-Marin/incrementer-encoder/incrementer-enc07-nonuniform-depth-6/incrementer-enc07-nonuniform-depth-6.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
88
r
de9a6782f378655603c4fbc189c93495 incrementer-enc07-nonuniform-depth-6.qdimacs 4964 12846
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/SmokePlot.R \name{SmokePlot} \alias{SmokePlot} \title{Make smoke plot} \usage{ SmokePlot( x.PlaceboPool.full = SCUL.inference$y.placebo.StandardizedDifference.Full, x.PlaceboPool.CohensD = SCUL.inference$y.placebo.CohensD, TreatmentBegi...
/man/SmokePlot.Rd
permissive
hollina/scul
R
false
true
2,124
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/SmokePlot.R \name{SmokePlot} \alias{SmokePlot} \title{Make smoke plot} \usage{ SmokePlot( x.PlaceboPool.full = SCUL.inference$y.placebo.StandardizedDifference.Full, x.PlaceboPool.CohensD = SCUL.inference$y.placebo.CohensD, TreatmentBegi...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1440 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1440 c c Input Parameter (command line, file): c input filename QBFLIB/Letombe/renHorn/renHorn_400CNF1440_2aQBF_95.qdimacs c ou...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Letombe/renHorn/renHorn_400CNF1440_2aQBF_95/renHorn_400CNF1440_2aQBF_95.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
645
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 1440 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 1440 c c Input Parameter (command line, file): c input filename QBFLIB/Letombe/renHorn/renHorn_400CNF1440_2aQBF_95.qdimacs c ou...
\name{cox.mcmc} \alias{cox.mcmc} \title{ Cox Model Markov Chain Monte Carlo } \description{ This sampler function implements a derivative based MCMC algorithm for flexible Cox models with structured additive predictors. } \usage{ cox.mcmc(x, y, family, start, weights, offset, n.iter = 1200, bur...
/man/cox.mcmc.Rd
no_license
baydoganm/bamlss
R
false
false
3,549
rd
\name{cox.mcmc} \alias{cox.mcmc} \title{ Cox Model Markov Chain Monte Carlo } \description{ This sampler function implements a derivative based MCMC algorithm for flexible Cox models with structured additive predictors. } \usage{ cox.mcmc(x, y, family, start, weights, offset, n.iter = 1200, bur...
\alias{gFileMountMountableFinish} \name{gFileMountMountableFinish} \title{gFileMountMountableFinish} \description{Finishes a mount operation. See \code{\link{gFileMountMountable}} for details.} \usage{gFileMountMountableFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}....
/RGtk2/man/gFileMountMountableFinish.Rd
no_license
lawremi/RGtk2
R
false
false
820
rd
\alias{gFileMountMountableFinish} \name{gFileMountMountableFinish} \title{gFileMountMountableFinish} \description{Finishes a mount operation. See \code{\link{gFileMountMountable}} for details.} \usage{gFileMountMountableFinish(object, result, .errwarn = TRUE)} \arguments{ \item{\verb{object}}{input \code{\link{GFile}}....
## ----setup, echo=FALSE, results="asis"---------------------------------------- library(rebook) chapterPreamble() ## ---- include = FALSE--------------------------------------------------------- library(ggplot2) theme_set(theme_classic()) library(mia) library(scater) library(patchwork) library(miaViz) library(sechm)...
/R/19_visualization_techniques.R
no_license
microbiome/OMA
R
false
false
16,526
r
## ----setup, echo=FALSE, results="asis"---------------------------------------- library(rebook) chapterPreamble() ## ---- include = FALSE--------------------------------------------------------- library(ggplot2) theme_set(theme_classic()) library(mia) library(scater) library(patchwork) library(miaViz) library(sechm)...
MDepths <- read.csv("Depths.csv", header=TRUE) X01<- MDepths[,01] X01<-X01[!is.na(X01)] as.data.frame(X01) dat01<- data.frame(X01) p01<-ggplot(dat01, aes(X01)) + labs(title = "Profile Nr.01", x = "Depths, m", y = "Density") + theme( plot.title = element_text(family = "Skia", face = 2, size = 10), panel.back...
/Script-01.r
permissive
paulinelemenkova/R-1-Histograms
R
false
false
2,570
r
MDepths <- read.csv("Depths.csv", header=TRUE) X01<- MDepths[,01] X01<-X01[!is.na(X01)] as.data.frame(X01) dat01<- data.frame(X01) p01<-ggplot(dat01, aes(X01)) + labs(title = "Profile Nr.01", x = "Depths, m", y = "Density") + theme( plot.title = element_text(family = "Skia", face = 2, size = 10), panel.back...
source("setupFunctions.R") context("semiParametricFitting") test_that("using_endpoint_not_in_SurvivalData_object_gives_error",{ survivalData <- createSurvivalDataObject() expect_error(fitSemiParametric(survivalData,endPoint="nonsense")) # The defined endpoints are not vector-valued expect_error(fitSemiParame...
/tests/testthat/test-semiParametric.R
no_license
scientific-computing-solutions/sibyl
R
false
false
9,292
r
source("setupFunctions.R") context("semiParametricFitting") test_that("using_endpoint_not_in_SurvivalData_object_gives_error",{ survivalData <- createSurvivalDataObject() expect_error(fitSemiParametric(survivalData,endPoint="nonsense")) # The defined endpoints are not vector-valued expect_error(fitSemiParame...
### Boosted Sparse Nonlinear Metric Learning ### Auxillary function: Compute nearest neighbor orders based on distance with metric W ### Author: Yuting Ma ### Date: 04/14/2015 compute_dist <- function(X, y, W){ n <- nrow(X) n_pos <- sum(y == 1) n_neg <- sum(y == -1) L <- chol(W) dist.X <- as.matrix(dist(X%*...
/lib/sDist_compute_dist.R
no_license
yuting27/sDist
R
false
false
960
r
### Boosted Sparse Nonlinear Metric Learning ### Auxillary function: Compute nearest neighbor orders based on distance with metric W ### Author: Yuting Ma ### Date: 04/14/2015 compute_dist <- function(X, y, W){ n <- nrow(X) n_pos <- sum(y == 1) n_neg <- sum(y == -1) L <- chol(W) dist.X <- as.matrix(dist(X%*...
options()$repos options()$BioC_mirror options(bio_mirror="https://mirrors.ustc.edu.cn/bioc/") options("repos"=c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) # > options()$repos # CRAN CRANextra # "http://cran.rstudio.com/" "http://www.sta...
/Homework/Homework_1_options.R
no_license
LucasZhengrui/R_Lauguage_Study
R
false
false
540
r
options()$repos options()$BioC_mirror options(bio_mirror="https://mirrors.ustc.edu.cn/bioc/") options("repos"=c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) # > options()$repos # CRAN CRANextra # "http://cran.rstudio.com/" "http://www.sta...
if (interactive()) savehistory(); library("aroma.affymetrix"); # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Allocate UGC file # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cdf <- AffymetrixCdfFile$byChipType("GenomeWideSNP_6", tags="Full"); ugc <- AromaUnit...
/inst/buildScripts/chipTypes/GenomeWideSNP_6/na27/GenomeWideSNP_6,UGC,na27.R
no_license
microarray/aroma.affymetrix
R
false
false
1,911
r
if (interactive()) savehistory(); library("aroma.affymetrix"); # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Allocate UGC file # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cdf <- AffymetrixCdfFile$byChipType("GenomeWideSNP_6", tags="Full"); ugc <- AromaUnit...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getRdFileNames.R \name{getRdFileNames} \alias{getRdFileNames} \title{Track Rd file names at which 'topic' is documented} \usage{ getRdFileNames(topic, package = NULL) } \arguments{ \item{topic}{A length-one character vector specifying the top...
/man/getRdFileNames.Rd
no_license
federicomarini/codetoolsBioC
R
false
true
984
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getRdFileNames.R \name{getRdFileNames} \alias{getRdFileNames} \title{Track Rd file names at which 'topic' is documented} \usage{ getRdFileNames(topic, package = NULL) } \arguments{ \item{topic}{A length-one character vector specifying the top...
row.has.na <- apply(complete, 1, function(x){any(is.na(x))}) sum(row.has.na) column.has.na <- apply(complete, 2, function(x){any(is.na(x))}) sum(column.has.na) complete.filtered <- complete[,!column.has.na,] findCorrelation(complete.filtered) # nie będzie działać, bo pluje się, że są stringowe wartości z tego co widzę...
/testing.R
no_license
Krysol11111/MOW_fifa18
R
false
false
2,094
r
row.has.na <- apply(complete, 1, function(x){any(is.na(x))}) sum(row.has.na) column.has.na <- apply(complete, 2, function(x){any(is.na(x))}) sum(column.has.na) complete.filtered <- complete[,!column.has.na,] findCorrelation(complete.filtered) # nie będzie działać, bo pluje się, że są stringowe wartości z tego co widzę...
`LLTM` <- function(X, W, mpoints = 1, groupvec = 1, se = TRUE, sum0 = TRUE, etaStart) { #...X: person*(item*times) matrix (T1|T2|...) model <- "LLTM" call<-match.call() if (missing(W)) W <- NA else W <- as.matrix(W) if (missing(etaStart)) etaStart <- NA else etaStart <- as.vector(etaStart) XWcheck <- ...
/R/LLTM.R
no_license
cran/eRm
R
false
false
1,797
r
`LLTM` <- function(X, W, mpoints = 1, groupvec = 1, se = TRUE, sum0 = TRUE, etaStart) { #...X: person*(item*times) matrix (T1|T2|...) model <- "LLTM" call<-match.call() if (missing(W)) W <- NA else W <- as.matrix(W) if (missing(etaStart)) etaStart <- NA else etaStart <- as.vector(etaStart) XWcheck <- ...
testlist <- list(Rs = c(NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, -2.24711641857789e+307, 7.2911220195564e-304, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), at...
/meteor/inst/testfiles/ET0_Makkink/libFuzzer_ET0_Makkink/ET0_Makkink_valgrind_files/1612737879-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
414
r
testlist <- list(Rs = c(NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, -2.24711641857789e+307, 7.2911220195564e-304, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), at...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/render.R \name{as.htmlwidget.formattable} \alias{as.htmlwidget.formattable} \title{Convert formattable to an htmlwidget} \usage{ \method{as.htmlwidget}{formattable}(x, width = "100\%", height = NULL, ...) } \arguments{ \item{x}{a \cod...
/man/as.htmlwidget.formattable.Rd
permissive
githubfun/formattable
R
false
false
1,726
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/render.R \name{as.htmlwidget.formattable} \alias{as.htmlwidget.formattable} \title{Convert formattable to an htmlwidget} \usage{ \method{as.htmlwidget}{formattable}(x, width = "100\%", height = NULL, ...) } \arguments{ \item{x}{a \cod...
## Leading species Raster Derivation## #needed libraries library(rgdal) library(sp) library(raster) library(snow) startTime <- Sys.time() setwd("C:/Users/bsmiley/Documents/Sask_work/Sask/species_prop") beginCluster(30) #Extract list of file names from working directory filenames <- list.files(pattern=".tif$", full.na...
/Byron_leading_species_derivation_v2.r
no_license
cboisvenue/RCodeSK
R
false
false
3,489
r
## Leading species Raster Derivation## #needed libraries library(rgdal) library(sp) library(raster) library(snow) startTime <- Sys.time() setwd("C:/Users/bsmiley/Documents/Sask_work/Sask/species_prop") beginCluster(30) #Extract list of file names from working directory filenames <- list.files(pattern=".tif$", full.na...
#Set working directory #workingDir = args[1]; workingDir="~/PfrenderLab/WGCNA_PA42_v4.1" setwd(workingDir); # Load libraries library(ggplot2) # Load the expression and trait data saved in the first part lnames1 = load(file = "PA42_v4.1_dataInputTol.RData"); # Load network data saved in the second part. lnames2 = lo...
/Archived/NetworkAnalysis/barPlot_effectSubsets_DDR_tolSubset.R
no_license
ElizabethBrooks/TranscriptomeAnalysisPipeline_DaphniaUVTolerance
R
false
false
1,535
r
#Set working directory #workingDir = args[1]; workingDir="~/PfrenderLab/WGCNA_PA42_v4.1" setwd(workingDir); # Load libraries library(ggplot2) # Load the expression and trait data saved in the first part lnames1 = load(file = "PA42_v4.1_dataInputTol.RData"); # Load network data saved in the second part. lnames2 = lo...
# Import helper function to download file source("get_file.R") file <- get_file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", "./data", "data.zip", unzip = TRUE) # Extract the file unzip(file) data_file_path <- file.path("./household_power_consumption.txt") # Read the raw ...
/plot3.R
no_license
kylase-learning/ExData_Plotting1
R
false
false
1,368
r
# Import helper function to download file source("get_file.R") file <- get_file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", "./data", "data.zip", unzip = TRUE) # Extract the file unzip(file) data_file_path <- file.path("./household_power_consumption.txt") # Read the raw ...
library(magrittr) library(readr) loadCovid = function(pth) paste0('extdata/covid_data/', pth) %>% system.file(package = "readtv", mustWork = TRUE) %>% read_csv covid_global = loadCovid('global/owid-covid-data.csv') usethis::use_data(covid_global, overwrite = TRUE) covid_usa = loadCovid('states/us-states.csv') ...
/data-raw/covid.R
permissive
JDMusc/READ-TV
R
false
false
367
r
library(magrittr) library(readr) loadCovid = function(pth) paste0('extdata/covid_data/', pth) %>% system.file(package = "readtv", mustWork = TRUE) %>% read_csv covid_global = loadCovid('global/owid-covid-data.csv') usethis::use_data(covid_global, overwrite = TRUE) covid_usa = loadCovid('states/us-states.csv') ...
## This file is a hack to remove false flags in R CMD check when using foreach ## iterations. utils::globalVariables(c("iter", "k"))
/R/zzz.R
no_license
cran/monoClust
R
false
false
136
r
## This file is a hack to remove false flags in R CMD check when using foreach ## iterations. utils::globalVariables(c("iter", "k"))
/bit64/R/sortuse64.R
no_license
ingted/R-Examples
R
false
false
20,478
r
#!/usr/bin/Rscript library(RdbiPgSQL) conn <- dbConnect(PgSQL(), host="localhost", dbname="ruby", user="dmg", password="patito32") #res <- dbSendQuery(conn, "select date, avg(churn) from ( #select extract(year from datecomm) * 12 + extract(month from datecomm) as date, sumadd-sumrem as churn from commitsum natural...
/softChange/pg/size.r
no_license
hackerlank/hacking
R
false
false
570
r
#!/usr/bin/Rscript library(RdbiPgSQL) conn <- dbConnect(PgSQL(), host="localhost", dbname="ruby", user="dmg", password="patito32") #res <- dbSendQuery(conn, "select date, avg(churn) from ( #select extract(year from datecomm) * 12 + extract(month from datecomm) as date, sumadd-sumrem as churn from commitsum natural...
# Calculate daily respiration rates for roots, wood and foliage # Calculate daily below ground root respiration rates # Coarse root respiration rates branch.resp = read.csv("raw_data/WTC_TEMP_CM_GX-RBRANCH_20140513-20140522_L1_v1.csv") # Rbranch: branch respiration (nmol CO2 g-1 s-1) branch.resp$date = as.Date(branch...
/R/daily_R_rates.R
no_license
DataFusion18/DA_WTC3
R
false
false
10,845
r
# Calculate daily respiration rates for roots, wood and foliage # Calculate daily below ground root respiration rates # Coarse root respiration rates branch.resp = read.csv("raw_data/WTC_TEMP_CM_GX-RBRANCH_20140513-20140522_L1_v1.csv") # Rbranch: branch respiration (nmol CO2 g-1 s-1) branch.resp$date = as.Date(branch...
testlist <- list(doy = -1.72131968218895e+83, latitude = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), temp = c(8.5728629954997e-312, 1.56898424065867e+82, 8.96970809549085e-158, -1.3258495253834e-113, 2.79620616433656e-119, -6.80033518839696e+41, 2.6...
/meteor/inst/testfiles/ET0_ThornthwaiteWilmott/AFL_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1615828077-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
735
r
testlist <- list(doy = -1.72131968218895e+83, latitude = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), temp = c(8.5728629954997e-312, 1.56898424065867e+82, 8.96970809549085e-158, -1.3258495253834e-113, 2.79620616433656e-119, -6.80033518839696e+41, 2.6...
# plot metro level data # ============================================================================= # load data metro_data <- read_csv("data/MO_HEALTH_Covid_Tracking/data/metro_all/metro_full.csv") # ============================================================================= # define colors cols <- c("Cape Gi...
/source/workflow/05_metro_plots.R
permissive
slu-openGIS/covid_daily_viz
R
false
false
12,990
r
# plot metro level data # ============================================================================= # load data metro_data <- read_csv("data/MO_HEALTH_Covid_Tracking/data/metro_all/metro_full.csv") # ============================================================================= # define colors cols <- c("Cape Gi...
server <- function(input, output, clientData, session) { ############ homepage tab ########### output$hp <- renderUI({ tags$iframe( srcdoc = paste(readLines('try.html'), collapse = '\n'), width = "100%", height = "1000px" ) }) ############## table tab ############## output$z...
/City_Recommendation_Tool/server.R
no_license
jianitian/Weather_Taste_city_recommendation_tool
R
false
false
9,014
r
server <- function(input, output, clientData, session) { ############ homepage tab ########### output$hp <- renderUI({ tags$iframe( srcdoc = paste(readLines('try.html'), collapse = '\n'), width = "100%", height = "1000px" ) }) ############## table tab ############## output$z...
#Compare emissions from motor vehicle sources in Baltimore City with emissions #from motor vehicle sources in Los Angeles County, California #(\color{red}{\verb|fips == "06037"|}fips == "06037"). #Which city has seen greater changes over time in motor vehicle emissions? library("data.table") SCC <- data.table::as.d...
/plot6.R
no_license
yurica24/Coursera4_exploratoryData
R
false
false
1,407
r
#Compare emissions from motor vehicle sources in Baltimore City with emissions #from motor vehicle sources in Los Angeles County, California #(\color{red}{\verb|fips == "06037"|}fips == "06037"). #Which city has seen greater changes over time in motor vehicle emissions? library("data.table") SCC <- data.table::as.d...
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setinverse <- function(i) inv <<- i...
/cachematrix.R
no_license
lgandras/ProgrammingAssignment2
R
false
false
706
r
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setinverse <- function(i) inv <<- i...
################################################# # Chapter 1 ################################################# library(bayesm) library(dummies) library(pROC) load("stc-cbc-respondents-v3(1).RData") str(resp.data.v3) taskV3 <- read.csv("stc-dc-task-cbc -v3(1).csv", sep="\t") str(taskV3) load("efCode.RData") str(efco...
/assign5_code.R
no_license
andrewburner/msds450_assign5
R
false
false
4,349
r
################################################# # Chapter 1 ################################################# library(bayesm) library(dummies) library(pROC) load("stc-cbc-respondents-v3(1).RData") str(resp.data.v3) taskV3 <- read.csv("stc-dc-task-cbc -v3(1).csv", sep="\t") str(taskV3) load("efCode.RData") str(efco...
#' Add GitHub links to select visualizations #' #' This function alters the internal representation of a plot to include links back to the actual #' GitHub issue. This is currently implemented for \code{viz_taskboard()} and \code{viz_gantt()} #' #' Credit goes to this Stack Overflow answer for figuring out how to do th...
/R/viz-linked.R
permissive
jwinget/projmgr
R
false
false
4,220
r
#' Add GitHub links to select visualizations #' #' This function alters the internal representation of a plot to include links back to the actual #' GitHub issue. This is currently implemented for \code{viz_taskboard()} and \code{viz_gantt()} #' #' Credit goes to this Stack Overflow answer for figuring out how to do th...
context("infill crits") test_that("infill crits", { ninit = 20L niters = 3L f1 = smoof::makeSphereFunction(2L) f2 = smoof::makeSingleObjectiveFunction( fn = function(x) sum(x^2) + rnorm(1, 0, 0.03), par.set = getParamSet(f1) ) des = generateTestDesign(ninit, getParamSet(f1)) mycontrol = functio...
/tests/testthat/test_infillcrits.R
no_license
DanielKuehn87/mlrMBO
R
false
false
3,111
r
context("infill crits") test_that("infill crits", { ninit = 20L niters = 3L f1 = smoof::makeSphereFunction(2L) f2 = smoof::makeSingleObjectiveFunction( fn = function(x) sum(x^2) + rnorm(1, 0, 0.03), par.set = getParamSet(f1) ) des = generateTestDesign(ninit, getParamSet(f1)) mycontrol = functio...
### --- Script to adjust raw data with ComBat algorithm ### -------SETUP------- require(dplyr) require(tidyr) ## ---- COMBAT functions ## data adjustment function remove_single_images = function(chan, image_var){ ## count cells by images sub_chan = chan %>% group_by_at(image_var) %>% count() sub_chan$bool = su...
/combat_functions/all_combat_functions_new.R
no_license
ColemanRHarris/mxif_normalization
R
false
false
12,758
r
### --- Script to adjust raw data with ComBat algorithm ### -------SETUP------- require(dplyr) require(tidyr) ## ---- COMBAT functions ## data adjustment function remove_single_images = function(chan, image_var){ ## count cells by images sub_chan = chan %>% group_by_at(image_var) %>% count() sub_chan$bool = su...
# Plain R ---------- # setwd(getSrcDirectory()[1]) # RStudio ---------- setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) # Libraries ---------- library(dplyr) library(openxlsx) library(ggplot2) library(stringr) library(zoo) library(urca) library(vars) library(tsDyn) `%format%` <- function(x, y) { ...
/extra_dynamics.R
no_license
FunnyRabbitIsAHabbit/Paper_Bachelor
R
false
false
4,972
r
# Plain R ---------- # setwd(getSrcDirectory()[1]) # RStudio ---------- setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) # Libraries ---------- library(dplyr) library(openxlsx) library(ggplot2) library(stringr) library(zoo) library(urca) library(vars) library(tsDyn) `%format%` <- function(x, y) { ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{gap_filter} \alias{gap_filter} \title{Filter on gap statistics for a given date range} \usage{ gap_filter(x, date_range, c_d_min = 80, c_m_min = 80, lg_max = 6) } \arguments{ \item{x}{tibble containing columns with gaps statisti...
/man/gap_filter.Rd
no_license
jthurner/baseflowchile
R
false
true
790
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{gap_filter} \alias{gap_filter} \title{Filter on gap statistics for a given date range} \usage{ gap_filter(x, date_range, c_d_min = 80, c_m_min = 80, lg_max = 6) } \arguments{ \item{x}{tibble containing columns with gaps statisti...
library(readxl) # Carrega a planilha em um dataframe df <- read_excel("dados/umses_alunos_2018.xlsx") # Os dados que serão utilizados têm linhas/colunas com nenhum valor, isso faz com que ao # lê-los ele tenha linhas a menos nrow <- as.table(c(0, 0, 0, 0)) names(nrow) <- c(1, 2, 3, 4) graf <- table(data.frame(df$uso...
/codigos/relacao-uso-midias-sociais-educacao-por-idade.R
no_license
LInDa-ProPesq/Grupo-2
R
false
false
1,100
r
library(readxl) # Carrega a planilha em um dataframe df <- read_excel("dados/umses_alunos_2018.xlsx") # Os dados que serão utilizados têm linhas/colunas com nenhum valor, isso faz com que ao # lê-los ele tenha linhas a menos nrow <- as.table(c(0, 0, 0, 0)) names(nrow) <- c(1, 2, 3, 4) graf <- table(data.frame(df$uso...
uniquebus<-readRDS("C:/Users/bdaro_000/Sociology/Dissertation/Data and Code/RData/BusinessData.rds") HoursStats<-as.data.frame(matrix(nrow=7,ncol=4)) names(HoursStats)<-c("Day","NotOpen","OpenHour","CloseHour") HoursStats$Day<-c("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday") HoursStats$No...
/Archived/Hour Stats.R
no_license
BrianAronson/Competitive-Networks-Yelp
R
false
false
1,110
r
uniquebus<-readRDS("C:/Users/bdaro_000/Sociology/Dissertation/Data and Code/RData/BusinessData.rds") HoursStats<-as.data.frame(matrix(nrow=7,ncol=4)) names(HoursStats)<-c("Day","NotOpen","OpenHour","CloseHour") HoursStats$Day<-c("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday") HoursStats$No...
data <- read.table("household_power_consumption.txt",sep=";",header=TRUE) data$Date <- dmy(as.character(data$Date)) data$Time <- chron(times=as.character(data$Time)) data1 <- data[data$Date=="2007-02-01" | data$Date=="2007-02-02" ,] data1$Global_active_power <- as.numeric(as.character(data1$Global_active_power)) ...
/plot1.R
no_license
KarthikGampala/ExData_Plotting1
R
false
false
463
r
data <- read.table("household_power_consumption.txt",sep=";",header=TRUE) data$Date <- dmy(as.character(data$Date)) data$Time <- chron(times=as.character(data$Time)) data1 <- data[data$Date=="2007-02-01" | data$Date=="2007-02-02" ,] data1$Global_active_power <- as.numeric(as.character(data1$Global_active_power)) ...
library(DBI) library(lattice) library(Hmisc) library(dplyr) library(RMySQL) library(plotrix) library(reshape2) library(unbalanced) con <- dbConnect(MySQL(), user = 'root', password = 'admin', host = 'localhost', dbname='changehistory') #vetorPaths <- c("dom","javascript","javascript_extras","javascript_xpconnect","layo...
/Scripts/R Scripts/3.R
no_license
gustavo95/vulnerability-detection-tool
R
false
false
1,317
r
library(DBI) library(lattice) library(Hmisc) library(dplyr) library(RMySQL) library(plotrix) library(reshape2) library(unbalanced) con <- dbConnect(MySQL(), user = 'root', password = 'admin', host = 'localhost', dbname='changehistory') #vetorPaths <- c("dom","javascript","javascript_extras","javascript_xpconnect","layo...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ui.binormal.R \name{ui.binormal} \alias{ui.binormal} \title{Function for the determination of the thresholds of an uncertain interval for bi-normal distributed test scores that are considered as inconclusive.} \usage{ ui.binormal( r...
/man/ui.binormal.Rd
no_license
cran/UncertainInterval
R
false
true
5,521
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ui.binormal.R \name{ui.binormal} \alias{ui.binormal} \title{Function for the determination of the thresholds of an uncertain interval for bi-normal distributed test scores that are considered as inconclusive.} \usage{ ui.binormal( r...
#part (b) set.seed(123) gibbs <- function(n.sims, y, burnin, thin) { n<-length(y) x.draws <- matrix(NA, nrow=(n.sims-burnin)/thin,ncol=10) mu.draws <- c() # initialize vector that will store draws from the full conditional sig2.draws<- c() # initialize vector that will store draws from theh full conditional ...
/r_code/rounded_data_ptB.R
no_license
rae89/rounded_data_case_study
R
false
false
3,267
r
#part (b) set.seed(123) gibbs <- function(n.sims, y, burnin, thin) { n<-length(y) x.draws <- matrix(NA, nrow=(n.sims-burnin)/thin,ncol=10) mu.draws <- c() # initialize vector that will store draws from the full conditional sig2.draws<- c() # initialize vector that will store draws from theh full conditional ...
##makeCacheMatrix: ##This function creates a special "matrix" object that can cache its inverse. ##When the function called inverse matrix "inver" set to null ##setinverse adds the inverse matrix to the cache ##getinverse gets the inverse matrix from the cache makeCacheMatrix <- function(x = matrix()) {...
/cachematrix.R
no_license
habsal/ProgrammingAssignment2
R
false
false
982
r
##makeCacheMatrix: ##This function creates a special "matrix" object that can cache its inverse. ##When the function called inverse matrix "inver" set to null ##setinverse adds the inverse matrix to the cache ##getinverse gets the inverse matrix from the cache makeCacheMatrix <- function(x = matrix()) {...
library(animation) for(i in 1:ani.options("nmax")){ polydebug <- iso.polydebug(s_poly, mix, c_poly, its = 1) windows() V <- polydebug$V hull_a <- polydebug$hull_a m <- polydebug$m plot(0, 0, type = "n", xlim = c(-8, 30), ylim = c(-2, 24)) points(mix[,1], mix[,2], col = "black", pch = 16) points(V[hull_a, 1], V[hull_a, ...
/polydebug.R
no_license
rogerclarkgc/isopolygon
R
false
false
583
r
library(animation) for(i in 1:ani.options("nmax")){ polydebug <- iso.polydebug(s_poly, mix, c_poly, its = 1) windows() V <- polydebug$V hull_a <- polydebug$hull_a m <- polydebug$m plot(0, 0, type = "n", xlim = c(-8, 30), ylim = c(-2, 24)) points(mix[,1], mix[,2], col = "black", pch = 16) points(V[hull_a, 1], V[hull_a, ...
################################################################################################# qdg.sem <- function(qdgObject, cross) { ################################################################################# score.sem.models <- function(cross,pheno.names,all.solutions,steptol,addcov=NULL) { n.sol <- l...
/R/sem.R
no_license
byandell/qtlnet
R
false
false
5,691
r
################################################################################################# qdg.sem <- function(qdgObject, cross) { ################################################################################# score.sem.models <- function(cross,pheno.names,all.solutions,steptol,addcov=NULL) { n.sol <- l...
#' Get google drive file update time #' #' @param googId Google drive file key #' @param tzone timezone #' @import googledrive lubridate #' @return #' @export #' #' @examples googleDriveUpdateTime <- function(googId,tzone = "UTC"){ #money sheet update info <- googledrive::drive_get(googledrive::as_id(googId)) mti...
/R/nightlyUpdateDrake.R
no_license
nickmckay/lipdverseR
R
false
false
52,788
r
#' Get google drive file update time #' #' @param googId Google drive file key #' @param tzone timezone #' @import googledrive lubridate #' @return #' @export #' #' @examples googleDriveUpdateTime <- function(googId,tzone = "UTC"){ #money sheet update info <- googledrive::drive_get(googledrive::as_id(googId)) mti...
## Functions for caching and accessing the inverse of a matrix. ## Creates a special matrix allowing the value of its inverse to be cached. makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setinv <- function(invers...
/cachematrix.R
no_license
elainebettaney/ProgrammingAssignment2
R
false
false
903
r
## Functions for caching and accessing the inverse of a matrix. ## Creates a special matrix allowing the value of its inverse to be cached. makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setinv <- function(invers...
#' @title dfo.rv.analysis #' @description Stratified analysis of DFO lobster data with bootstrapped resampling and set-up the data for sensitivity analysis #' @param \code{DS} :the selection of analysis, options include \code{stratified.estimates} #' @param \code{out.dir} : specify the location of data saves, default i...
/R/dfo.rv.analysis.r
no_license
gomezcatalina/bio.lobster
R
false
false
15,032
r
#' @title dfo.rv.analysis #' @description Stratified analysis of DFO lobster data with bootstrapped resampling and set-up the data for sensitivity analysis #' @param \code{DS} :the selection of analysis, options include \code{stratified.estimates} #' @param \code{out.dir} : specify the location of data saves, default i...
#' trapz: trapezoidal rule to approximate the integral values #' #' Returns approximation of integral. #' #' @param x A vector with \code{n} elements, \code{x[i]} is a support, \code{i = 1, ..., n}. #' If \code{y} is \code{NULL}, support is taken as \code{seq(1, length(x), by = 1)}. #' @param y \code{y[i, j]} is jth va...
/R/commFunc.R
permissive
alexchang2017/rfda
R
false
false
14,736
r
#' trapz: trapezoidal rule to approximate the integral values #' #' Returns approximation of integral. #' #' @param x A vector with \code{n} elements, \code{x[i]} is a support, \code{i = 1, ..., n}. #' If \code{y} is \code{NULL}, support is taken as \code{seq(1, length(x), by = 1)}. #' @param y \code{y[i, j]} is jth va...
HypsoIntCurve <- function(basins, dem, labelfield, nrow, manexcl = NULL, labelsize = 5, resthreshold = 2){ # Generate Hypsometric Curve and Hypsometric Integral # of each stream of a network # Args: # basins: One SpatialPolygons* object # If a string is provided, it will be us...
/integral_hypsometric_curve.R
no_license
geomorfologia-master/unidad-4-asignacion-1-procesos-fluviales
R
false
false
4,344
r
HypsoIntCurve <- function(basins, dem, labelfield, nrow, manexcl = NULL, labelsize = 5, resthreshold = 2){ # Generate Hypsometric Curve and Hypsometric Integral # of each stream of a network # Args: # basins: One SpatialPolygons* object # If a string is provided, it will be us...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/streamSetApi.r \name{streamSet$getEnd} \alias{streamSet$getEnd} \title{Returns End of stream values of the attributes for an Element, Event Frame or Attribute} \arguments{ \item{webId}{The ID of an Element, Event Frame or Attribute, which is ...
/man/streamSet-cash-getEnd.Rd
permissive
aj9253/PI-Web-API-Client-R
R
false
true
1,492
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/streamSetApi.r \name{streamSet$getEnd} \alias{streamSet$getEnd} \title{Returns End of stream values of the attributes for an Element, Event Frame or Attribute} \arguments{ \item{webId}{The ID of an Element, Event Frame or Attribute, which is ...
################################################################################ # This file is released under the GNU General Public License, Version 3, GPL-3 # # Copyright (C) 2020 Yohann Demont # # ...
/IFC/R/popsGetObjecstIds.R
no_license
akhikolla/InformationHouse
R
false
false
3,962
r
################################################################################ # This file is released under the GNU General Public License, Version 3, GPL-3 # # Copyright (C) 2020 Yohann Demont # # ...
#' Standardize. #' #' Standardize objects. See the documentation for your object's class: #' \itemize{ #' \item{\link[=standardize.numeric]{standardize.numeric}} #' \item{\link[=standardize.data.frame]{standardize.data.frame}} #' \item{\link[=standardize.stanreg]{standardize.stanreg}} #' \item{\link[=standardize.lm]{st...
/R/standardize.R
permissive
anhnguyendepocen/psycho.R
R
false
false
12,200
r
#' Standardize. #' #' Standardize objects. See the documentation for your object's class: #' \itemize{ #' \item{\link[=standardize.numeric]{standardize.numeric}} #' \item{\link[=standardize.data.frame]{standardize.data.frame}} #' \item{\link[=standardize.stanreg]{standardize.stanreg}} #' \item{\link[=standardize.lm]{st...
# q3.1 : get row numbers for data meeting condition mydata=read.csv('http://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv') mydata2=subset(mydata, mydata$ACR==3 & mydata$AGS==6 ) head(mydata2, 3) # need libjpeg-turbo-devel install.packages('jpeg') library(jpeg) myurl="http://d396qusza40orc.cloudfront.net/...
/coursera/getdata/q3.R
no_license
billtang/sandbox
R
false
false
2,121
r
# q3.1 : get row numbers for data meeting condition mydata=read.csv('http://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv') mydata2=subset(mydata, mydata$ACR==3 & mydata$AGS==6 ) head(mydata2, 3) # need libjpeg-turbo-devel install.packages('jpeg') library(jpeg) myurl="http://d396qusza40orc.cloudfront.net/...
testlist <- list(phi = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), x = c(1.36656529241717e-311, -1.657912...
/dcurver/inst/testfiles/ddc/AFL_ddc/ddc_valgrind_files/1609867293-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
831
r
testlist <- list(phi = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), x = c(1.36656529241717e-311, -1.657912...
#' Summarize group comparisons #' #' Summarize a group comparisons object or a ddo of group comparisons objects. This function #' applies a summary function to the columns of \code{compData$e_data} corresponding to each #' column to calculate a summary column for each group. #' #' Currently this function does not al...
/R/summarizeGroupComparisons.R
permissive
EMSL-Computing/ftmsRanalysis
R
false
false
7,031
r
#' Summarize group comparisons #' #' Summarize a group comparisons object or a ddo of group comparisons objects. This function #' applies a summary function to the columns of \code{compData$e_data} corresponding to each #' column to calculate a summary column for each group. #' #' Currently this function does not al...
/faq/tk/general.rd
no_license
wanabe/rubydoc
R
false
false
136
rd
testlist <- list(a = 0L, b = 0L, x = c(-1L, -1L, -14024705L, -16384000L, 0L, 0L, 0L, 0L)) result <- do.call(grattan:::anyOutside,testlist) str(result)
/grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610131950-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
151
r
testlist <- list(a = 0L, b = 0L, x = c(-1L, -1L, -14024705L, -16384000L, 0L, 0L, 0L, 0L)) result <- do.call(grattan:::anyOutside,testlist) str(result)
## Read in and annotate spatial data set; from Cumming1995 ## the spreadsheet we have is for late summer. but could also redo analysis for spring using ## Cumming1995 ## units: nutrients; elements; DIC + DOC: mg/L; conductivity uS (assuming cm-1); note that ## specific conductance is reported in Cumming1995, an...
/scripts/co2flux_spatial.R
no_license
ewiik/spatial
R
false
false
2,668
r
## Read in and annotate spatial data set; from Cumming1995 ## the spreadsheet we have is for late summer. but could also redo analysis for spring using ## Cumming1995 ## units: nutrients; elements; DIC + DOC: mg/L; conductivity uS (assuming cm-1); note that ## specific conductance is reported in Cumming1995, an...
# Library library(ukbtools) library(tidyverse) library(XML) library(stringr) library(rbgen)
/munge/01_lib.R
permissive
sdufault15/breast-cancer
R
false
false
93
r
# Library library(ukbtools) library(tidyverse) library(XML) library(stringr) library(rbgen)
#' #' kernel2d.R #' #' Two-dimensional smoothing kernels #' #' $Revision: 1.11 $ $Date: 2016/11/13 01:54:57 $ #' .Spatstat.2D.KernelTable <- list( #' table entries: #' d = density of standardised kernel #' sd = standard deviation of x coordinate, for standardised kernel #' hw = halfwidth of support o...
/R/kernel2d.R
no_license
mirca/spatstat
R
false
false
3,438
r
#' #' kernel2d.R #' #' Two-dimensional smoothing kernels #' #' $Revision: 1.11 $ $Date: 2016/11/13 01:54:57 $ #' .Spatstat.2D.KernelTable <- list( #' table entries: #' d = density of standardised kernel #' sd = standard deviation of x coordinate, for standardised kernel #' hw = halfwidth of support o...
#This code is written for Predicting Fraud Txn #Author: Zhe Consulting #July 2017 #Load all the required librarires here library(party) library(rpart) library(rpart.plot) library(randomForest) library(rattle) library(caTools) library(InformationValue) library(ROCR) library(e1071) #clear the memory...
/PredictionCode.R
no_license
srikar156/R-Codes
R
false
false
7,017
r
#This code is written for Predicting Fraud Txn #Author: Zhe Consulting #July 2017 #Load all the required librarires here library(party) library(rpart) library(rpart.plot) library(randomForest) library(rattle) library(caTools) library(InformationValue) library(ROCR) library(e1071) #clear the memory...
## This pair of functions is used to cache the inverse of a square matrix. ## They allow to save time by looking up cache rather than recomputing. ## The function "makeCacheMatrix" creates a cacheable matrix used as an input ## into the "cacheSolve" function. makeCacheMatrix <- function(x = matrix()) { m <- NULL ...
/cachematrix.R
no_license
eegupova/ProgrammingAssignment2
R
false
false
1,233
r
## This pair of functions is used to cache the inverse of a square matrix. ## They allow to save time by looking up cache rather than recomputing. ## The function "makeCacheMatrix" creates a cacheable matrix used as an input ## into the "cacheSolve" function. makeCacheMatrix <- function(x = matrix()) { m <- NULL ...
## first R script for getting and cleaning data
/first_r_script.R
no_license
niloynibhochaudhury/coursera_getting_and_cleaning_data
R
false
false
47
r
## first R script for getting and cleaning data
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 48766 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 48765 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 48765 c c Input Parameter (command line, ...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Sauer-Reimer/ITC99/b22_PR_4_90/b22_PR_4_90.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
719
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 48766 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 48765 c c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 48765 c c Input Parameter (command line, ...
########################################################################### # # # Computing Lab Project: Churn prediction project # # # ##############...
/Jordi_Morera_Churn_Prediction.r
no_license
jrdmose/BGSE_Computing_Lab
R
false
false
8,246
r
########################################################################### # # # Computing Lab Project: Churn prediction project # # # ##############...
# ---- Libraries ---- library(tidyr) library(dplyr) library(ggplot2) ; theme_set(theme_bw()) library(devtools) library(profvis) # Load (and download if needed) my libraries use.local.GI <- TRUE if(use.local.GI){ library(GI, lib.loc = './lib') } if(!use.local.GI){ lib.GI <- try(library(GI)) if(class(li...
/test-fit-ibm.R
no_license
davidchampredon/GI-dev
R
false
false
7,879
r
# ---- Libraries ---- library(tidyr) library(dplyr) library(ggplot2) ; theme_set(theme_bw()) library(devtools) library(profvis) # Load (and download if needed) my libraries use.local.GI <- TRUE if(use.local.GI){ library(GI, lib.loc = './lib') } if(!use.local.GI){ lib.GI <- try(library(GI)) if(class(li...
library(rms) library(pROC) # Read in the data and set up train/test sets data<-read.table("../anontfmodel2_R_grouped.csv",header=T,sep=",") #data<-data[with(data, order(id)), ] splitIndex <- trunc(nrow(data)*0.66) while(data$id[splitIndex]==data$id[splitIndex+1]) { splitIndex <- splitIndex + 1 } trainset <- data[1:s...
/LogisticRegression.R.REMOTE.11936.R
no_license
skarusala/MachineLearningScripts
R
false
false
780
r
library(rms) library(pROC) # Read in the data and set up train/test sets data<-read.table("../anontfmodel2_R_grouped.csv",header=T,sep=",") #data<-data[with(data, order(id)), ] splitIndex <- trunc(nrow(data)*0.66) while(data$id[splitIndex]==data$id[splitIndex+1]) { splitIndex <- splitIndex + 1 } trainset <- data[1:s...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/resHelpStrFns.R \name{tStr} \alias{tStr} \title{Constructs an APA formatted string for a t-value.} \usage{ tStr(param, modObj, ...) } \arguments{ \item{param}{The parameter of interest. Can be "int" as a shortcut for "(Intercept)".} \item{m...
/man/tStr.Rd
no_license
Cmell/ResultsHelper
R
false
true
476
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/resHelpStrFns.R \name{tStr} \alias{tStr} \title{Constructs an APA formatted string for a t-value.} \usage{ tStr(param, modObj, ...) } \arguments{ \item{param}{The parameter of interest. Can be "int" as a shortcut for "(Intercept)".} \item{m...
# IDs_gen.R # Author: Nicolas Loucheu - ULB (nicolas.loucheu@ulb.ac.be) # Date: 28th April 2020 # Generate a csv file linking the sample name with the IDs shown in figures args <- commandArgs() new_sample <- read.csv(args[6], row.names = 1) out_folder <- args[7] #Getting IDs from cell proportions file IDs <- rownames...
/bin/IDs_gen.R
no_license
nicolasloucheu/SampleAnalysis
R
false
false
527
r
# IDs_gen.R # Author: Nicolas Loucheu - ULB (nicolas.loucheu@ulb.ac.be) # Date: 28th April 2020 # Generate a csv file linking the sample name with the IDs shown in figures args <- commandArgs() new_sample <- read.csv(args[6], row.names = 1) out_folder <- args[7] #Getting IDs from cell proportions file IDs <- rownames...