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
source('all_functions.R') # remove WT remove_wild_type <- function(m_or_beta_values){ m_or_beta_values <- m_or_beta_values[m_or_beta_values$p53_germline == 'MUT',] return(m_or_beta_values) } # strategy # all methods, both models, both sizes # combat only normal, combat_1 # next do swan with standardize and not...
/Scripts/old_scripts/predict_onset_combat_age.R
no_license
benmbrew/LFS
R
false
false
14,554
r
source('all_functions.R') # remove WT remove_wild_type <- function(m_or_beta_values){ m_or_beta_values <- m_or_beta_values[m_or_beta_values$p53_germline == 'MUT',] return(m_or_beta_values) } # strategy # all methods, both models, both sizes # combat only normal, combat_1 # next do swan with standardize and not...
####################################### #Wood Rat Survival by Genotype # #E. Hunter, November 2016 # ####################################### rm(list=ls()) ELIZABETHOFFICE = F ELIZABETH = T KEVINOFFICE = F ################################### ########## SET WORKING DIRECTORY if(ELIZABETHOFFICE) rootDir <-...
/Woodrat_survival_script15_grid_precipint_sigma_GIT_analysisonly.R
no_license
kevintshoemaker/woodrat-hybridzone
R
false
false
10,965
r
####################################### #Wood Rat Survival by Genotype # #E. Hunter, November 2016 # ####################################### rm(list=ls()) ELIZABETHOFFICE = F ELIZABETH = T KEVINOFFICE = F ################################### ########## SET WORKING DIRECTORY if(ELIZABETHOFFICE) rootDir <-...
library(lubridate) # Subset the dataset for these statistics functions stats._subset <- function( data, the.uid, start = as.POSIXct('2012-01-01'), end = as.POSIXct(Sys.Date()) ) { # Inclusive at start datetime, exclusive at end datetime subset(data, uid == the.uid) # & datetime >= start & datetime < end) }...
/src/stats.R
no_license
tlevine/facebook-friends-online
R
false
false
2,220
r
library(lubridate) # Subset the dataset for these statistics functions stats._subset <- function( data, the.uid, start = as.POSIXct('2012-01-01'), end = as.POSIXct(Sys.Date()) ) { # Inclusive at start datetime, exclusive at end datetime subset(data, uid == the.uid) # & datetime >= start & datetime < end) }...
#(a) p1j <- c(0, 1, 0, 0, 0, 0) p2j <- c(1/4, 0, 1/4, 1/4, 1/4, 0) p3j <- c(0, 1/4, 0, 1/4, 1/4, 1/4) p4j <- c(0, 1/4, 1/4, 0, 1/4, 1/4) p5j <- c(0, 1/3, 1/3, 1/3, 0, 0) p6j <- c(0, 0, 1/2, 1/2, 0, 0) P <- rbind(p1j, p2j, p3j, p4j, p5j, p6j) colnames(P) <- 1:6 (P%^%100)[1,] #(b) P1 <- matrix(rep(0,36), nrow=6) for...
/Course/통계 계산 방법/과제 2/중전통2-2.R
no_license
Eli-Park/JJPark
R
false
false
1,887
r
#(a) p1j <- c(0, 1, 0, 0, 0, 0) p2j <- c(1/4, 0, 1/4, 1/4, 1/4, 0) p3j <- c(0, 1/4, 0, 1/4, 1/4, 1/4) p4j <- c(0, 1/4, 1/4, 0, 1/4, 1/4) p5j <- c(0, 1/3, 1/3, 1/3, 0, 0) p6j <- c(0, 0, 1/2, 1/2, 0, 0) P <- rbind(p1j, p2j, p3j, p4j, p5j, p6j) colnames(P) <- 1:6 (P%^%100)[1,] #(b) P1 <- matrix(rep(0,36), nrow=6) for...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dimensionality_reduction.R \name{rescale.and.center} \alias{rescale.and.center} \title{Scaling and centering of matrix-like objects} \usage{ rescale.and.center(x, center=0, max.range=1) } \arguments{ \item{x}{A numeric matrix or data frame.} ...
/man/rescale.and.center.Rd
no_license
mutual-ai/SCORPIUS
R
false
true
1,179
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dimensionality_reduction.R \name{rescale.and.center} \alias{rescale.and.center} \title{Scaling and centering of matrix-like objects} \usage{ rescale.and.center(x, center=0, max.range=1) } \arguments{ \item{x}{A numeric matrix or data frame.} ...
require(shiny) require(shinyIncubator) require(ggplot2) theme_update(panel.background=element_blank(), panel.grid.major=element_blank(), panel.border=element_blank()) tickets <- as.data.frame(rbind( c( '$1', 1, 15), c( '$2', 2, 11), c( '$4', 4, 62), c( '$5', 5, 100...
/inst/shiny/lottery/server.R
no_license
jbryer/StatToolkit
R
false
false
2,409
r
require(shiny) require(shinyIncubator) require(ggplot2) theme_update(panel.background=element_blank(), panel.grid.major=element_blank(), panel.border=element_blank()) tickets <- as.data.frame(rbind( c( '$1', 1, 15), c( '$2', 2, 11), c( '$4', 4, 62), c( '$5', 5, 100...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/make.mark.model.R \name{make.mark.model} \alias{make.mark.model} \title{Create a MARK model for analysis} \usage{ make.mark.model(data, ddl, parameters = list(), title = "", model.name = NULL, initial = NULL, call = NULL, def...
/RMark/man/make.mark.model.Rd
no_license
buddhidayananda/RMark
R
false
false
25,024
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/make.mark.model.R \name{make.mark.model} \alias{make.mark.model} \title{Create a MARK model for analysis} \usage{ make.mark.model(data, ddl, parameters = list(), title = "", model.name = NULL, initial = NULL, call = NULL, def...
load("C:/Users/Kisei/Dropbox/lobster_scallop_manuscript/3rd submission/Lobster_Area_fall.RData"); ls = xy; ls$Species = "Lobster_Fall" load("C:/Users/Kisei/Dropbox/lobster_scallop_manuscript/3rd submission/Lobster_Area_spring.RData"); lf = xy; lf$Species = "Lobster_Spring" load("C:/Users/Kisei/Dropbox/lobster_scallop_m...
/fig4_revised.R
no_license
krtanaka/biomod_migclim
R
false
false
2,601
r
load("C:/Users/Kisei/Dropbox/lobster_scallop_manuscript/3rd submission/Lobster_Area_fall.RData"); ls = xy; ls$Species = "Lobster_Fall" load("C:/Users/Kisei/Dropbox/lobster_scallop_manuscript/3rd submission/Lobster_Area_spring.RData"); lf = xy; lf$Species = "Lobster_Spring" load("C:/Users/Kisei/Dropbox/lobster_scallop_m...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tools.R \name{classes} \alias{classes} \title{function to get classes from e.g. lists} \usage{ classes(x) } \arguments{ \item{x}{list to get classes for} } \description{ function to get classes from e.g. lists } \keyword{internal}
/diffrprojects/man/classes.Rd
permissive
akhikolla/TestedPackages-NoIssues
R
false
true
310
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tools.R \name{classes} \alias{classes} \title{function to get classes from e.g. lists} \usage{ classes(x) } \arguments{ \item{x}{list to get classes for} } \description{ function to get classes from e.g. lists } \keyword{internal}
## The functions below allow the inverse of a square matrix to be cached, ## so that, in the future, the inverted matrix can be retrieved from cache ## rather than be recomputed every time the matrix needs to be inverted. The ## purpose is to save compute time. ## makeCacheMatrix creates functions that can (1) create ...
/cachematrix.R
no_license
npefley/ProgrammingAssignment2
R
false
false
1,958
r
## The functions below allow the inverse of a square matrix to be cached, ## so that, in the future, the inverted matrix can be retrieved from cache ## rather than be recomputed every time the matrix needs to be inverted. The ## purpose is to save compute time. ## makeCacheMatrix creates functions that can (1) create ...
#Exploratory Data Analysis Project 2 library(ggplot2) library(dplyr) library(lattice) setwd("~/R/exploratoryDA/project2") url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" download.file(url, "particulateData.zip") unzip("particulateData.zip") NEI <- readRDS("summarySCC_PM25.rds") SCC <- read...
/plot4.R
no_license
dlofte/Project2
R
false
false
1,314
r
#Exploratory Data Analysis Project 2 library(ggplot2) library(dplyr) library(lattice) setwd("~/R/exploratoryDA/project2") url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" download.file(url, "particulateData.zip") unzip("particulateData.zip") NEI <- readRDS("summarySCC_PM25.rds") SCC <- read...
if(identical(Sys.getenv("NOT_CRAN"), "true") & .Machine$sizeof.pointer != 4){ # Sys.setenv(NOT_CRAN='true') set.seed(1) library(ctsem) library(testthat) context("dtVct_lVnl") test_that("dtVct_CINTheterogeneity", { set.seed(1) s=list() nsubjects=200 Tpoints=15 parsd=1.4 parmu= ...
/tests/testthat/test-dtVct.R
no_license
bgoodri/ctsem
R
false
false
7,334
r
if(identical(Sys.getenv("NOT_CRAN"), "true") & .Machine$sizeof.pointer != 4){ # Sys.setenv(NOT_CRAN='true') set.seed(1) library(ctsem) library(testthat) context("dtVct_lVnl") test_that("dtVct_CINTheterogeneity", { set.seed(1) s=list() nsubjects=200 Tpoints=15 parsd=1.4 parmu= ...
#http://bioconductor.org/packages/release/bioc/html/Biostrings.html library(seqinr) library(Biostrings) file<-read.fasta(file.choose()) class(file) seq<-file[[1]] #http://127.0.0.1:11928/library/seqinr/html/GC.html #Get the help of this function by typing ?GC GC(seq) ##################################################...
/Solution/part1_A.R
no_license
luimucar/R_Fasta
R
false
false
575
r
#http://bioconductor.org/packages/release/bioc/html/Biostrings.html library(seqinr) library(Biostrings) file<-read.fasta(file.choose()) class(file) seq<-file[[1]] #http://127.0.0.1:11928/library/seqinr/html/GC.html #Get the help of this function by typing ?GC GC(seq) ##################################################...
#' @name Ham.snp.dat.pools #' @docType data #' @keywords datasets #' @title Data for DNA pools from small worked example in Hamilton et al. in prep #' @description SNP intensity and genotype call data for DNA pools #' @usage Ham.snp.dat.pools #' @format Data frame #' @author Matthew Hamilton <matthew.hamilton@csiro.au>...
/R/Ham.snp.dat.pools.R
no_license
mghamilton/SNPpools
R
false
false
1,132
r
#' @name Ham.snp.dat.pools #' @docType data #' @keywords datasets #' @title Data for DNA pools from small worked example in Hamilton et al. in prep #' @description SNP intensity and genotype call data for DNA pools #' @usage Ham.snp.dat.pools #' @format Data frame #' @author Matthew Hamilton <matthew.hamilton@csiro.au>...
#' Finds the Maximum and the Minimum Ratings in a Dataframe Based on the Teleport API #' #' @param citiesdf A dataframe consisting of two columns, the first being the city and the second being the category #' @param locasecat A valid category that is in lowercase form #' #' @return A list containing the maximum rating ...
/R/max-and-min.R
permissive
rnevils/teleporrrt
R
false
false
3,344
r
#' Finds the Maximum and the Minimum Ratings in a Dataframe Based on the Teleport API #' #' @param citiesdf A dataframe consisting of two columns, the first being the city and the second being the category #' @param locasecat A valid category that is in lowercase form #' #' @return A list containing the maximum rating ...
context("test-mut_context") # Read vcfs vcfs <- readRDS(system.file("states/read_vcfs_as_granges_output.rds", package = "MutationalPatterns" )) ## Load the corresponding reference genome. ref_genome <- "BSgenome.Hsapiens.UCSC.hg19" library(ref_genome, character.only = TRUE) # Get mutation context input <- unlist(v...
/tests/testthat/test-mut_context.R
permissive
UMCUGenetics/MutationalPatterns
R
false
false
2,998
r
context("test-mut_context") # Read vcfs vcfs <- readRDS(system.file("states/read_vcfs_as_granges_output.rds", package = "MutationalPatterns" )) ## Load the corresponding reference genome. ref_genome <- "BSgenome.Hsapiens.UCSC.hg19" library(ref_genome, character.only = TRUE) # Get mutation context input <- unlist(v...
### Read the source code for t() and t.test() and confirm that t.test() is an S3 generic and not an S3 method. ### What happens if you create an object with class test and call t() with it? # We can see that both t() and t.test() are generics because they both call UseMethod(): t # function (x) # UseMethod("t") # ...
/oo_field_guide/exercise1.r
no_license
iveksl2/adv-r-book-solutions
R
false
false
1,024
r
### Read the source code for t() and t.test() and confirm that t.test() is an S3 generic and not an S3 method. ### What happens if you create an object with class test and call t() with it? # We can see that both t() and t.test() are generics because they both call UseMethod(): t # function (x) # UseMethod("t") # ...
## ---------------------------------------------------------------------------------------------------------------- library(readr) library(XML) library(dplyr) library(ggplot2) ## ---------------------------------------------------------------------------------------------------------------- data2000 <- xmlPar...
/Math_Oly.R
no_license
TAKAOKA-Masahiro/IMO_analysis
R
false
false
12,547
r
## ---------------------------------------------------------------------------------------------------------------- library(readr) library(XML) library(dplyr) library(ggplot2) ## ---------------------------------------------------------------------------------------------------------------- data2000 <- xmlPar...
library(data.table) library(fasttime) library(corrplot) library(moments) library(glmnet) library(randomForest) library(caret) library(ROSE) library(gridExtra) library(reshape2) library(tidyverse) library(DataExplorer) library(dplyr) library(plyr) library(xgboost) options(repr.matrix.max.rows=600, repr.ma...
/Xgboost.R
no_license
Jessicawwww/Customer-Experience
R
false
false
7,898
r
library(data.table) library(fasttime) library(corrplot) library(moments) library(glmnet) library(randomForest) library(caret) library(ROSE) library(gridExtra) library(reshape2) library(tidyverse) library(DataExplorer) library(dplyr) library(plyr) library(xgboost) options(repr.matrix.max.rows=600, repr.ma...
############################################################ #This is the Shiny file for the Virus and Immune response model #written and maintained by Andreas Handel (ahandel@uga.edu) #last updated 2/16/2018 ############################################################ #the server-side function with the main functiona...
/auxiliary/oldcode/VirusandIRapp.R
no_license
SpencerDH/DSAIRM
R
false
false
12,951
r
############################################################ #This is the Shiny file for the Virus and Immune response model #written and maintained by Andreas Handel (ahandel@uga.edu) #last updated 2/16/2018 ############################################################ #the server-side function with the main functiona...
#Craps Markov model #Define States: #1: Win #2: Lose #3: Point=4,10 #4: Point=5,9 #5: Point=6,8 #6: Start #Create Projection Matrix P <- matrix(0.,6,6) #Define roll probabilities p2 <- 1./36. p12 <- p2 p3 <- 2./36. p11 <- p3 p4 <- 3./36. p10 <- p4 p5 <- 4./36. p9 <- p5 p6 <- 5./36. p8 <- p6 p7 <- 6./36. #Transition ...
/chem160module12/craps_game.R
no_license
nhukim35/chem160module12
R
false
false
1,302
r
#Craps Markov model #Define States: #1: Win #2: Lose #3: Point=4,10 #4: Point=5,9 #5: Point=6,8 #6: Start #Create Projection Matrix P <- matrix(0.,6,6) #Define roll probabilities p2 <- 1./36. p12 <- p2 p3 <- 2./36. p11 <- p3 p4 <- 3./36. p10 <- p4 p5 <- 4./36. p9 <- p5 p6 <- 5./36. p8 <- p6 p7 <- 6./36. #Transition ...
#' Create and test cmtkreg objects that specify path to a CMTK registration #' #' @description \code{cmtkreg} creates an object of class \code{cmtkreg} that #' describes one (or more) \href{www.nitrc.org/projects/cmtk/}{CMTK} #' registrations. This is simply a character vector that also has class #' cmtkreg. #' @...
/R/cmtkreg.R
no_license
elifesciences-publications/nat
R
false
false
5,510
r
#' Create and test cmtkreg objects that specify path to a CMTK registration #' #' @description \code{cmtkreg} creates an object of class \code{cmtkreg} that #' describes one (or more) \href{www.nitrc.org/projects/cmtk/}{CMTK} #' registrations. This is simply a character vector that also has class #' cmtkreg. #' @...
#'Animate Maps of Forecast/Observed Values or Scores Over Forecast Time #' #'Create animations of maps in an equi-rectangular or stereographic #'projection, showing the anomalies, the climatologies, the mean InterQuartile #'Range, Maximum-Mininum, Standard Deviation, Median Absolute Deviation, #'the trends, the RMSE...
/R/AnimateMap.R
no_license
cran/s2dverification
R
false
false
13,522
r
#'Animate Maps of Forecast/Observed Values or Scores Over Forecast Time #' #'Create animations of maps in an equi-rectangular or stereographic #'projection, showing the anomalies, the climatologies, the mean InterQuartile #'Range, Maximum-Mininum, Standard Deviation, Median Absolute Deviation, #'the trends, the RMSE...
## This first line will likely take a few seconds. Be patient! if(!exists("NEI")){ NEI <- readRDS("./summarySCC_PM25.rds") } if(!exists("SCC")){ SCC <- readRDS("./Source_Classification_Code.rds") } if(!exists("NEISCC")){ NEISCC <- merge(NEI, SCC, by="SCC") } library(ggplot2) coalMatches <- grepl("coal", NEISCC...
/plot4.R
no_license
KundanM/exdataproject2
R
false
false
756
r
## This first line will likely take a few seconds. Be patient! if(!exists("NEI")){ NEI <- readRDS("./summarySCC_PM25.rds") } if(!exists("SCC")){ SCC <- readRDS("./Source_Classification_Code.rds") } if(!exists("NEISCC")){ NEISCC <- merge(NEI, SCC, by="SCC") } library(ggplot2) coalMatches <- grepl("coal", NEISCC...
testlist <- list(testX = c(191493125665849920, 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, 0, 0, 0), trainX ...
/dann/inst/testfiles/calc_distance_C/AFL_calc_distance_C/calc_distance_C_valgrind_files/1609867374-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
1,199
r
testlist <- list(testX = c(191493125665849920, 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, 0, 0, 0), trainX ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/features.R \name{Character3Grams} \alias{Character3Grams} \title{Character 3-gram extraction.} \usage{ Character3Grams(text) } \arguments{ \item{text}{The text.} } \value{ A document term matrix (sparse Matrix). } \description{ Computes the d...
/man/Character3Grams.Rd
no_license
M3SOulu/NLoN
R
false
true
363
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/features.R \name{Character3Grams} \alias{Character3Grams} \title{Character 3-gram extraction.} \usage{ Character3Grams(text) } \arguments{ \item{text}{The text.} } \value{ A document term matrix (sparse Matrix). } \description{ Computes the d...
#' @title ITN Degree Distribution #' #' @description This function plots the ITN degree distribtuion #' @param gs International Trade Network - igraph object #' @param weighted TRUE - plot import strength vs export strength. FALSE - Import count Vs export count #' @export #' @return Imports Vs Exports Plot #' @e...
/R/ITNimvex_function.R
no_license
anhnguyendepocen/ITNr
R
false
false
1,784
r
#' @title ITN Degree Distribution #' #' @description This function plots the ITN degree distribtuion #' @param gs International Trade Network - igraph object #' @param weighted TRUE - plot import strength vs export strength. FALSE - Import count Vs export count #' @export #' @return Imports Vs Exports Plot #' @e...
complete <- function(directory, id = 1:332){ nobsById <- data.frame() for(i in id){ filename <- paste(directory, sprintf('%03d.csv', i), sep = '/') data <- read.csv(filename) nobs <- nrow(data[ !is.na(data$Date) & !is.na(data$sulfate) & !is.na(da...
/R_Programming/week2/complete.R
no_license
rodolfo-mendes/datasciencecoursera
R
false
false
494
r
complete <- function(directory, id = 1:332){ nobsById <- data.frame() for(i in id){ filename <- paste(directory, sprintf('%03d.csv', i), sep = '/') data <- read.csv(filename) nobs <- nrow(data[ !is.na(data$Date) & !is.na(data$sulfate) & !is.na(da...
##' If save_file = TRUE, will save a date-stamped copy of downloaded report ##' to compliance_reports. This directory is created if it doesn't exist ##' in project home directory ##' ##'Function returns file path to downloaded reporting comliance file. # getEwrimsComplaints <- function(cred_file = "ewrims_key.csv", # ...
/f-dlEwrimsComplaints-1_0.R
no_license
jyeazell/dwr-utility-functions
R
false
false
3,427
r
##' If save_file = TRUE, will save a date-stamped copy of downloaded report ##' to compliance_reports. This directory is created if it doesn't exist ##' in project home directory ##' ##'Function returns file path to downloaded reporting comliance file. # getEwrimsComplaints <- function(cred_file = "ewrims_key.csv", # ...
#### SERIES DE TIEMPO #### ###link ayudad https://www.itl.nist.gov/div898/handbook/pmc/section4/pmc41.htm ####https://www.itl.nist.gov/div898/handbook/pmc/section4/pmc45.htm library(forecast) library(tseries) library(ggplot2) prots<-ts(Produccion_departamentos$producido, start = c(2013,1), frequency = 12) print(prots)...
/Series de tiempo/STXx2.R
no_license
Wicho1313/Modelamiento-y-simulacion
R
false
false
3,013
r
#### SERIES DE TIEMPO #### ###link ayudad https://www.itl.nist.gov/div898/handbook/pmc/section4/pmc41.htm ####https://www.itl.nist.gov/div898/handbook/pmc/section4/pmc45.htm library(forecast) library(tseries) library(ggplot2) prots<-ts(Produccion_departamentos$producido, start = c(2013,1), frequency = 12) print(prots)...
# Install and load packages package_names <- c("survey","dplyr","foreign","devtools") lapply(package_names, function(x) if(!x %in% installed.packages()) install.packages(x)) lapply(package_names, require, character.only=T) install_github("e-mitchell/meps_r_pkg/MEPS") library(MEPS) options(survey.lonely.ps...
/mepstrends/hc_care/json/code/r/pctPOP__race__diab_foot__.r
permissive
RandomCriticalAnalysis/MEPS-summary-tables
R
false
false
2,965
r
# Install and load packages package_names <- c("survey","dplyr","foreign","devtools") lapply(package_names, function(x) if(!x %in% installed.packages()) install.packages(x)) lapply(package_names, require, character.only=T) install_github("e-mitchell/meps_r_pkg/MEPS") library(MEPS) options(survey.lonely.ps...
\name{getHostCPUName} \alias{getHostCPUName} \alias{getHostCPUFeatures} \alias{getDataLayoutString} \alias{getDataLayoutString,TargetMachine-method} \alias{getDataLayoutString,missing-method} \alias{getABITypeAlignment} \alias{isLittleEndian} \title{Get Information about the Host Machine/Architecture} \description{ ...
/man/getHostCPUName.Rd
no_license
duncantl/Rllvm
R
false
false
1,441
rd
\name{getHostCPUName} \alias{getHostCPUName} \alias{getHostCPUFeatures} \alias{getDataLayoutString} \alias{getDataLayoutString,TargetMachine-method} \alias{getDataLayoutString,missing-method} \alias{getABITypeAlignment} \alias{isLittleEndian} \title{Get Information about the Host Machine/Architecture} \description{ ...
#' Algae data #' #' Each row of the data set is a set of 90 measurements at a river in some place in Europe. #' There are 11 predictors. The response is the logarithm of the abundance of a certain #' class of algae. Description: The columns are: #' 1. season, categorical (1,2,3,4 for winter, spring, summer and au...
/R/algae.R
no_license
cran/RobStatTM
R
false
false
1,208
r
#' Algae data #' #' Each row of the data set is a set of 90 measurements at a river in some place in Europe. #' There are 11 predictors. The response is the logarithm of the abundance of a certain #' class of algae. Description: The columns are: #' 1. season, categorical (1,2,3,4 for winter, spring, summer and au...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CNode.R \docType{class} \name{CNode-class} \alias{CNode-class} \title{Provides R API to DataONE Coordinating Node services.} \description{ The CNode class provides methods that interact with a DataONE Coordinating Node. } \section{Slots}{ \d...
/dataone/man/CNode-class.Rd
permissive
couture322/rdataone
R
false
true
2,087
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CNode.R \docType{class} \name{CNode-class} \alias{CNode-class} \title{Provides R API to DataONE Coordinating Node services.} \description{ The CNode class provides methods that interact with a DataONE Coordinating Node. } \section{Slots}{ \d...
% Generated by roxygen2 (4.0.1): do not edit by hand \name{spLayer.SpatialGridDataFrame} \alias{spLayer.SpatialGridDataFrame} \title{Define a Raster Data Layer} \usage{ \method{spLayer}{SpatialGridDataFrame}(x, name = NULL, layer, cells.col = heat.colors(12), cells.alpha = 1, ...) } \arguments{ \item{name}{a characte...
/man/spLayer.SpatialGridDataFrame.Rd
no_license
Micseb/rleafmap
R
false
false
758
rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{spLayer.SpatialGridDataFrame} \alias{spLayer.SpatialGridDataFrame} \title{Define a Raster Data Layer} \usage{ \method{spLayer}{SpatialGridDataFrame}(x, name = NULL, layer, cells.col = heat.colors(12), cells.alpha = 1, ...) } \arguments{ \item{name}{a characte...
#### @citizen-monitoring # Initial code for working with ugandasms data usms <- read.csv("ugandasms.csv") ## Reads sms data in a space delimited text file. summary(usms) # summarize data lugoba <- which(usms$Zone == "LUGOBA") # create index of rows where Zone = Lugoba kisowera <- which(usms$Zone == "KISOWERA") # crea...
/usms_wk2.R
no_license
citizen-monitoring/citizen-monitoring.github.io
R
false
false
625
r
#### @citizen-monitoring # Initial code for working with ugandasms data usms <- read.csv("ugandasms.csv") ## Reads sms data in a space delimited text file. summary(usms) # summarize data lugoba <- which(usms$Zone == "LUGOBA") # create index of rows where Zone = Lugoba kisowera <- which(usms$Zone == "KISOWERA") # crea...
##Exploratory Data Analysis - Course Project 1 #set the wd setwd("~") setwd("/Coursera/Data Science/EDA/EDA-CP-1") #Read in the data and set it up for analysis powerData <- read.table( "household_power_consumption.txt", sep = ";", header = TRUE, stringsAsFactors = FALSE, na.strings = "?" ) #Change the date...
/Load Data.R
no_license
cafkhami/EDA-CP-1
R
false
false
450
r
##Exploratory Data Analysis - Course Project 1 #set the wd setwd("~") setwd("/Coursera/Data Science/EDA/EDA-CP-1") #Read in the data and set it up for analysis powerData <- read.table( "household_power_consumption.txt", sep = ";", header = TRUE, stringsAsFactors = FALSE, na.strings = "?" ) #Change the date...
################################################################################ # Task: Making summary table of evapotranspiration data # # March 7 2021 ################################################################################ # Packages ----- library("tidyverse") library('readr') library('ggplot2') ...
/02_scripts/30_irrHa_table.R
no_license
scoons8/ibis_wetlands
R
false
false
6,387
r
################################################################################ # Task: Making summary table of evapotranspiration data # # March 7 2021 ################################################################################ # Packages ----- library("tidyverse") library('readr') library('ggplot2') ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/llm.create.HTML.visualisation.cat.R \name{table.cat.llm.html} \alias{table.cat.llm.html} \title{Create the HTML code for Logit Leaf Model visualization} \usage{ table.cat.llm.html( object, category_var_df, headertext = "The Logit Leaf M...
/man/table.cat.llm.html.Rd
no_license
cran/LLM
R
false
true
2,946
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/llm.create.HTML.visualisation.cat.R \name{table.cat.llm.html} \alias{table.cat.llm.html} \title{Create the HTML code for Logit Leaf Model visualization} \usage{ table.cat.llm.html( object, category_var_df, headertext = "The Logit Leaf M...
#' @importFrom jmvcore . linRegClass <- R6::R6Class( "linRegClass", inherit = linRegBase, #### Active bindings ---- active = list( dataProcessed = function() { if (is.null(private$.dataProcessed)) private$.dataProcessed <- private$.cleanData() return(pri...
/R/linreg.b.R
no_license
jamovi/jmv
R
false
false
53,031
r
#' @importFrom jmvcore . linRegClass <- R6::R6Class( "linRegClass", inherit = linRegBase, #### Active bindings ---- active = list( dataProcessed = function() { if (is.null(private$.dataProcessed)) private$.dataProcessed <- private$.cleanData() return(pri...
# # Author: Kelly Black # Description: These are examples intended to be typed in from the command line. # From chapter 1 of Object Oriented Programming in R # # The MIT License (MIT) # # Copyright (c) 2014, Kelly Black # # Permission is hereby granted, free of charge, to any person obtaining a c...
/book/packt/R.Object-oriented.Programming/6682OS_01_Codes/chapter_1_ex17.R
no_license
xenron/sandbox-da-r
R
false
false
1,472
r
# # Author: Kelly Black # Description: These are examples intended to be typed in from the command line. # From chapter 1 of Object Oriented Programming in R # # The MIT License (MIT) # # Copyright (c) 2014, Kelly Black # # Permission is hereby granted, free of charge, to any person obtaining a c...
## Put comments here that give an overall description of what your ## functions do ## These functions create a 'special matrix' which can hold the matrix object as well as ## its inverse in the memory (cache) ## Write a short comment describing this function ## This function creates a special matrix which is like a li...
/cachematrix.R
no_license
Uttam1609/ProgrammingAssignment2
R
false
false
1,225
r
## Put comments here that give an overall description of what your ## functions do ## These functions create a 'special matrix' which can hold the matrix object as well as ## its inverse in the memory (cache) ## Write a short comment describing this function ## This function creates a special matrix which is like a li...
library(ggplot2) library(plotly) vlbw <- read.csv('https://github.com/couthcommander/Bios6301/raw/master/datasets/vlbw.csv', row.names=1) vlbw <- vlbw[complete.cases(vlbw[,c('sex','dead','gest','bwt')]),] grps <- split(vlbw[,c('gest','bwt')], vlbw[,c('sex','dead')]) p <- ggplot(data=vlbw) + aes(x=gest, y=bwt, color=...
/lectures/23_viz_compare.R
no_license
anhnguyendepocen/Bios6301-1
R
false
false
1,281
r
library(ggplot2) library(plotly) vlbw <- read.csv('https://github.com/couthcommander/Bios6301/raw/master/datasets/vlbw.csv', row.names=1) vlbw <- vlbw[complete.cases(vlbw[,c('sex','dead','gest','bwt')]),] grps <- split(vlbw[,c('gest','bwt')], vlbw[,c('sex','dead')]) p <- ggplot(data=vlbw) + aes(x=gest, y=bwt, color=...
#Mean, Median and Mode #Statistical analysis in R is performed by using many in-built functions. Most of these functions are part of #the R base package. These functions take R vector as an input along with the arguments and give the result. #The functions we are discussing in this chapter are mean, median and mode. #M...
/Statstical Analysis Example/MMM.R
no_license
KhaledAbdelgalil/R
R
false
false
1,818
r
#Mean, Median and Mode #Statistical analysis in R is performed by using many in-built functions. Most of these functions are part of #the R base package. These functions take R vector as an input along with the arguments and give the result. #The functions we are discussing in this chapter are mean, median and mode. #M...
###--------------------------------------------------------------- ###Load libraries and data - April 16th ###--------------------------------------------------------------- #source("source_code_Cox_MonteCarlo_CV_April12.R") require(caTools) library(survAUC) #check if this person is in my analysis: TCGA-61-2095 librar...
/Archive/last_scripts_by_KI/Figure_1B_code.R
no_license
HongyuanWu/lncRNAs_TCGA
R
false
false
23,508
r
###--------------------------------------------------------------- ###Load libraries and data - April 16th ###--------------------------------------------------------------- #source("source_code_Cox_MonteCarlo_CV_April12.R") require(caTools) library(survAUC) #check if this person is in my analysis: TCGA-61-2095 librar...
# Progress report # Setup ------------------------------------------------------------------- library(tidyverse) library(leebunce) # Update data file -------------------------------------------------------- source('Scripts/Data processing/3 - Produce output data.R') # Data -------------------------------------------...
/Scripts/Coding Helpers/Biggest donor not yet coded.R
no_license
infoDemocracy/Data_Processing
R
false
false
930
r
# Progress report # Setup ------------------------------------------------------------------- library(tidyverse) library(leebunce) # Update data file -------------------------------------------------------- source('Scripts/Data processing/3 - Produce output data.R') # Data -------------------------------------------...
source('parallel_cluster.r') library(ggplot2) #volunteers=runif(50) repetition=1:1 #sample_sizes=c(10,50,100,1000) sample_sizes=c(50,100,500) group_sizes=c(1,2,3,4,10,15,20,25,30) max_num_groups=100 test5=c() for (repeation in repetition){ results=c() for (sample_size in sample_sizes){ # generate 'sample_...
/test_random.r
no_license
nmaisonneuve/experiment
R
false
false
2,581
r
source('parallel_cluster.r') library(ggplot2) #volunteers=runif(50) repetition=1:1 #sample_sizes=c(10,50,100,1000) sample_sizes=c(50,100,500) group_sizes=c(1,2,3,4,10,15,20,25,30) max_num_groups=100 test5=c() for (repeation in repetition){ results=c() for (sample_size in sample_sizes){ # generate 'sample_...
x<-double(50) u_1<-runif(1,0,1) ## The markov process at time 0 if (0<=u_1 && u_1<=0.5){ x[1]<-1 } else if (0.5<u_1 && u_1<=3/4){ x[1]<-2 } else { x[1]<-3 } ## The markov process after time 0 for (i in 2:50) { u_i<-runif(1,0,1) if (x[i-1]==1){ x[i]<-2 } else if (x[i-1]==2){ if (0<=u_i ...
/markovfrog simulation.R
no_license
philipamewudah/Hello-World
R
false
false
596
r
x<-double(50) u_1<-runif(1,0,1) ## The markov process at time 0 if (0<=u_1 && u_1<=0.5){ x[1]<-1 } else if (0.5<u_1 && u_1<=3/4){ x[1]<-2 } else { x[1]<-3 } ## The markov process after time 0 for (i in 2:50) { u_i<-runif(1,0,1) if (x[i-1]==1){ x[i]<-2 } else if (x[i-1]==2){ if (0<=u_i ...
\name{compare.correlations} \alias{compare.correlations} \title{ Compare MaLTE to summarisation correlations } \description{ This function produces a data frame of correlation coefficients (Pearson and Spearman) of expression estimates using MaLTE and a summarisation algorithm. Each row of this data frame is a gene...
/man/compare.correlations.Rd
no_license
hjanime/MaLTE
R
false
false
1,983
rd
\name{compare.correlations} \alias{compare.correlations} \title{ Compare MaLTE to summarisation correlations } \description{ This function produces a data frame of correlation coefficients (Pearson and Spearman) of expression estimates using MaLTE and a summarisation algorithm. Each row of this data frame is a gene...
library(dplyr) library(stringr) library(tidyr) #spread library(preprocessCore) library(ggplot2) library(sva) library(lme4) setwd(dir = "/media/rostyslav/Toshiba/Projects/RSSSO_glycans") dat <- read.csv("00-scripts-data/data/ultimate_igg-areas-20150417.csv") dat <- dat[, -(c(5:7))] dat <- dat[complete.cases(dat),] # ...
/scripts/Project_script(glycans).R
no_license
rmakaren/glycomics_RSSSO2015
R
false
false
3,792
r
library(dplyr) library(stringr) library(tidyr) #spread library(preprocessCore) library(ggplot2) library(sva) library(lme4) setwd(dir = "/media/rostyslav/Toshiba/Projects/RSSSO_glycans") dat <- read.csv("00-scripts-data/data/ultimate_igg-areas-20150417.csv") dat <- dat[, -(c(5:7))] dat <- dat[complete.cases(dat),] # ...
library(ape) testtree <- read.tree("11524_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="11524_0_unrooted.txt")
/codeml_files/newick_trees_processed_and_cleaned/11524_0/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
137
r
library(ape) testtree <- read.tree("11524_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="11524_0_unrooted.txt")
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functional.R \name{filt_not} \alias{filt_not} \title{filt_not combinator which returns filtered vector by reversed predicate} \usage{ filt_not(x, p) } \arguments{ \item{x}{vector to filter} \item{p}{predicate} } \value{ filtered vector } \de...
/man/filt_not.Rd
permissive
d0rj/pido
R
false
true
459
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functional.R \name{filt_not} \alias{filt_not} \title{filt_not combinator which returns filtered vector by reversed predicate} \usage{ filt_not(x, p) } \arguments{ \item{x}{vector to filter} \item{p}{predicate} } \value{ filtered vector } \de...
## Please do three things to ensure this template is correctly modified: ## ## 1. Rename this file based on the content you are testing using `test-functionName.R` format ## so that your can directly call `moduleCoverage` to calculate module coverage information. ## `functionName` is a function's name in your mod...
/tests/testthat/test-template.R
no_license
PredictiveEcology/mapBins
R
false
false
3,099
r
## Please do three things to ensure this template is correctly modified: ## ## 1. Rename this file based on the content you are testing using `test-functionName.R` format ## so that your can directly call `moduleCoverage` to calculate module coverage information. ## `functionName` is a function's name in your mod...
get_correct_catch_trial_counts = function (data) { ret = data %>% filter(., catch_trial == 1) %>% group_by(workerid) %>% summarise(catch_perf = sum(catch_trial_answer_correct)) return(ret) } remove_quotes = function(d) { d$modal1 = gsub('"', '', d$modal1) d$modal2 = gsub('"', '', d$modal2) d...
/models/2_adaptation_model/utils.R
no_license
aleezayu/Aleeza-Adaptation
R
false
false
3,620
r
get_correct_catch_trial_counts = function (data) { ret = data %>% filter(., catch_trial == 1) %>% group_by(workerid) %>% summarise(catch_perf = sum(catch_trial_answer_correct)) return(ret) } remove_quotes = function(d) { d$modal1 = gsub('"', '', d$modal1) d$modal2 = gsub('"', '', d$modal2) d...
a = 20 a
/logbook/ex/hugo_burakpehlivan_org_20201011/c_wordpress_export_xml_to_csv/t01.R
permissive
mertnuhoglu/study
R
false
false
10
r
a = 20 a
# Computes MANB local arc C->X posterior probabilities and uses them to compute # the MANB CTPs. # Formula for posterior assumes that smooth = 1. # @param manb_prior Currently ignored. # @return Returns a vector of probabilities of same length of ctgts. compute_manb_arc_posteriors <- function(x, ctgts, smooth, prio...
/R/learn-params-manb.R
no_license
bmihaljevic/bnclassify
R
false
false
2,390
r
# Computes MANB local arc C->X posterior probabilities and uses them to compute # the MANB CTPs. # Formula for posterior assumes that smooth = 1. # @param manb_prior Currently ignored. # @return Returns a vector of probabilities of same length of ctgts. compute_manb_arc_posteriors <- function(x, ctgts, smooth, prio...
# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library("shiny") library("ggvis") library("tidyverse") library("dplyr") # Read in the cleaned up data ...
/bechdel-test-shiny/server.R
permissive
shrutijalewar/bechdel_test
R
false
false
3,574
r
# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library("shiny") library("ggvis") library("tidyverse") library("dplyr") # Read in the cleaned up data ...
#plot 4 fileUrl<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(fileUrl,destfile="./data/household_power_consumption.zip") unzip("./data/household_power_consumption.zip") hpc<-read.table("household_power_consumption.txt",header=TRUE,sep=";") sapply(hpc[,3:8],class...
/plot4.R
no_license
holikholik/datasciencecoursera
R
false
false
1,691
r
#plot 4 fileUrl<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(fileUrl,destfile="./data/household_power_consumption.zip") unzip("./data/household_power_consumption.zip") hpc<-read.table("household_power_consumption.txt",header=TRUE,sep=";") sapply(hpc[,3:8],class...
## The functions can calculate inversed matrix if it is not done before. ## If it has been calculated, the functions will provide cached results. ## It creates a matrix object to cache the inverse matrix. makeCacheMatrix <- function(x = matrix()) { inverse<-NULL set<-function(y){ #set the matrix x...
/cachematrix.R
no_license
Ningsun09/ProgrammingAssignment2
R
false
false
1,216
r
## The functions can calculate inversed matrix if it is not done before. ## If it has been calculated, the functions will provide cached results. ## It creates a matrix object to cache the inverse matrix. makeCacheMatrix <- function(x = matrix()) { inverse<-NULL set<-function(y){ #set the matrix x...
data<-read.csv("household_power_consumption.txt",sep=";",stringsAsFactors=F) data$Date<-as.Date(data$Date,format="%d/%m/%Y") subData<-data[data$Date>=as.Date("2007-02-01") & data$Date <= as.Date("2007-02-02"),] rm(data) subData$Global_active_power<-as.numeric(subData$Global_active_power) subData$Voltage<-as.numeric(sub...
/plot4.R
no_license
Tariq1981/ExData_Plotting1
R
false
false
1,649
r
data<-read.csv("household_power_consumption.txt",sep=";",stringsAsFactors=F) data$Date<-as.Date(data$Date,format="%d/%m/%Y") subData<-data[data$Date>=as.Date("2007-02-01") & data$Date <= as.Date("2007-02-02"),] rm(data) subData$Global_active_power<-as.numeric(subData$Global_active_power) subData$Voltage<-as.numeric(sub...
#### Import the pipe operator from magrittr #### #' Pipe operator #' #' @name %>% #' @rdname pipe #' @keywords internal #' @export #' @importFrom magrittr %>% #' @usage lhs \%>\% rhs NULL
/R/pipe.R
no_license
knausb/vcfR
R
false
false
189
r
#### Import the pipe operator from magrittr #### #' Pipe operator #' #' @name %>% #' @rdname pipe #' @keywords internal #' @export #' @importFrom magrittr %>% #' @usage lhs \%>\% rhs NULL
simul_ab_sp <- function(sp = 12, ab = NULL, N = 100, m = 3, Nm = NULL, alfa = 0.5, res.ab0 = F, res.formato = c("ancho", "largo.ind", "largo.ab")){ # paguzmang # 11-mar-2021 # Funcion que simula una muestra de individuos con los nombres de especies # y abun...
/simul_ab_sp.R
no_license
paguzmang/funciones
R
false
false
10,148
r
simul_ab_sp <- function(sp = 12, ab = NULL, N = 100, m = 3, Nm = NULL, alfa = 0.5, res.ab0 = F, res.formato = c("ancho", "largo.ind", "largo.ab")){ # paguzmang # 11-mar-2021 # Funcion que simula una muestra de individuos con los nombres de especies # y abun...
### #Outcome class outcome <- function(roll,bet,allbets,betdetails,payoutlist){ stopifnot(nrow(bet)==2) betnames <- match.arg(bet[1,],allbets,several.ok=T) betamount <- as.numeric(bet[2,]) names(betamount) <- betnames #outsidebets <- c("col1","col2","col3","First12","Second12","Third12","Low1-18","High...
/outcome.r
no_license
Thvb/Roulette-Simulation
R
false
false
1,217
r
### #Outcome class outcome <- function(roll,bet,allbets,betdetails,payoutlist){ stopifnot(nrow(bet)==2) betnames <- match.arg(bet[1,],allbets,several.ok=T) betamount <- as.numeric(bet[2,]) names(betamount) <- betnames #outsidebets <- c("col1","col2","col3","First12","Second12","Third12","Low1-18","High...
#' produces a correlation matrix via weighted correlation. #' #' Uses weighted regression to compute pairwise correlation matrix on input #' matrix - by columns. #' #' #' @param mat input matrix #' @param weights input weights, size of nrow of matrix #' @return matrix is output #' @author Avants BB #' @examples #' #' m...
/R/corw.R
no_license
jefferis/ANTsR
R
false
false
887
r
#' produces a correlation matrix via weighted correlation. #' #' Uses weighted regression to compute pairwise correlation matrix on input #' matrix - by columns. #' #' #' @param mat input matrix #' @param weights input weights, size of nrow of matrix #' @return matrix is output #' @author Avants BB #' @examples #' #' m...
context("ts vendor_plates_search_post") con <- ba_db()$testserver test_that("Vendor plates search are present", { res <- ba_vendor_plates_search_post(con = con) expect_that("list" %in% class(res), is_true()) res <- ba_vendor_plates_search_post(con = con, rclass = "json") expect_that("json" %in% class(res), ...
/tests/testserver/test_ts_vendor_plates_search_post.R
no_license
khaled-alshamaa/brapi
R
false
false
336
r
context("ts vendor_plates_search_post") con <- ba_db()$testserver test_that("Vendor plates search are present", { res <- ba_vendor_plates_search_post(con = con) expect_that("list" %in% class(res), is_true()) res <- ba_vendor_plates_search_post(con = con, rclass = "json") expect_that("json" %in% class(res), ...
if (getRversion() >= "2.15.1") { utils::globalVariables(c("x", "y", "value", "colour")) }
/R/global_declarations.R
no_license
baifengbai/gganatogram
R
false
false
92
r
if (getRversion() >= "2.15.1") { utils::globalVariables(c("x", "y", "value", "colour")) }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data_generation_nb_parameters_optimized.R \name{function_names_DE_markers} \alias{function_names_DE_markers} \title{Generate name of the DE markers.} \usage{ function_names_DE_markers(total_nb_marker, nb_DE_marker) } \arguments{ \item{total_n...
/man/function_names_DE_markers.Rd
no_license
FerreiraAM/CyTOFpower
R
false
true
583
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data_generation_nb_parameters_optimized.R \name{function_names_DE_markers} \alias{function_names_DE_markers} \title{Generate name of the DE markers.} \usage{ function_names_DE_markers(total_nb_marker, nb_DE_marker) } \arguments{ \item{total_n...
=begin =リストビューにメッセージの一行目を表示することはできますか? MLのアーカイブなどでリスト表示・スレッド表示をするときに、Subjectの替わりに本文の一行目を表示する場合があります。MLなどの場合、Subjectは「Re: ...」のような感じで情報量が少ないことが多いので、これはなかなか便利です。同じ事を、QMAIL3のリストビューでするには以下のようにします。 方針としては、ビューのカスタマイズで一行目を取り出すマクロを指定するという方針です。一行目を取り出すといっても、引用や挨拶などは飛ばしたいので、これをマクロでやるのはできなくはありませんが、ちょっと酷です。そこで、@Scriptを使って一行...
/docs/HowToShowFirstLineInListView.rd
permissive
snakamura/q3
R
false
false
4,009
rd
=begin =リストビューにメッセージの一行目を表示することはできますか? MLのアーカイブなどでリスト表示・スレッド表示をするときに、Subjectの替わりに本文の一行目を表示する場合があります。MLなどの場合、Subjectは「Re: ...」のような感じで情報量が少ないことが多いので、これはなかなか便利です。同じ事を、QMAIL3のリストビューでするには以下のようにします。 方針としては、ビューのカスタマイズで一行目を取り出すマクロを指定するという方針です。一行目を取り出すといっても、引用や挨拶などは飛ばしたいので、これをマクロでやるのはできなくはありませんが、ちょっと酷です。そこで、@Scriptを使って一行...
#loc=file.path("ftp://ftp.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.2017090718/gfs.t18z.sfluxgrbf384.grib2") #download.file(loc,"temp.grb",mode="wb") #shell/system("wgrib2 -s temp03.grb | grep :LAND: | wgrib2 -i temp00.grb -netcdf LAND.nc",intern=T) #library(rNOMADS) no longer available #https://cran.r-project.org/...
/R/R Basics for weather data/gribmanipulation.R
no_license
sandlim/WGeeks
R
false
false
2,866
r
#loc=file.path("ftp://ftp.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.2017090718/gfs.t18z.sfluxgrbf384.grib2") #download.file(loc,"temp.grb",mode="wb") #shell/system("wgrib2 -s temp03.grb | grep :LAND: | wgrib2 -i temp00.grb -netcdf LAND.nc",intern=T) #library(rNOMADS) no longer available #https://cran.r-project.org/...
## Read the data first data_mat = as.matrix(read.table("Pollution.txt",header=T)) ## first standardize the data n = nrow(data_mat) # Rows = Observations = n = 30 p = ncol(data_mat) # Columns = Variables = p = 799 for (i in 1:p) data_mat[ ,i ] = (data_mat[,i] - mean(data_mat[,i]))/sqrt(var(data_mat[,i])) ...
/R_code_for_Factor_model_01.R
no_license
mahayat/STAT5353
R
false
false
2,672
r
## Read the data first data_mat = as.matrix(read.table("Pollution.txt",header=T)) ## first standardize the data n = nrow(data_mat) # Rows = Observations = n = 30 p = ncol(data_mat) # Columns = Variables = p = 799 for (i in 1:p) data_mat[ ,i ] = (data_mat[,i] - mean(data_mat[,i]))/sqrt(var(data_mat[,i])) ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/modify_column_hide.R \name{modify_column_hide} \alias{modify_column_hide} \alias{modify_column_unhide} \title{Modify Hidden Columns} \usage{ modify_column_hide(x, columns) modify_column_unhide(x, columns) } \arguments{ \item{x}{gtsummary obj...
/man/modify_column_hide.Rd
permissive
mtysar/gtsummary
R
false
true
912
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/modify_column_hide.R \name{modify_column_hide} \alias{modify_column_hide} \alias{modify_column_unhide} \title{Modify Hidden Columns} \usage{ modify_column_hide(x, columns) modify_column_unhide(x, columns) } \arguments{ \item{x}{gtsummary obj...
context("Booster") ON_WINDOWS <- .Platform$OS.type == "windows" TOLERANCE <- 1e-6 test_that("Booster$finalize() should not fail", { X <- as.matrix(as.integer(iris[, "Species"]), ncol = 1L) y <- iris[["Sepal.Length"]] dtrain <- lgb.Dataset(X, label = y) bst <- lgb.train( data = dtrain ,...
/R-package/tests/testthat/test_lgb.Booster.R
permissive
guozi3/LightGBM
R
false
false
32,265
r
context("Booster") ON_WINDOWS <- .Platform$OS.type == "windows" TOLERANCE <- 1e-6 test_that("Booster$finalize() should not fail", { X <- as.matrix(as.integer(iris[, "Species"]), ncol = 1L) y <- iris[["Sepal.Length"]] dtrain <- lgb.Dataset(X, label = y) bst <- lgb.train( data = dtrain ,...
# goal: show county result # functions ## from cumsum to new cases cumulative2new = function(cumulative) { # part 1: fill NA b=cumulative b2 = rbind(0,b) # put 0 for 1st day for (i in 2:nrow(b2)) { idx = is.na(b2[i,]) # find days of NA b2[i, idx] = b2[i-1, idx] # fill NA with values from the previous da...
/entries/20200328-monitor-covid19/2020039-monitor-COVID19-US.R
no_license
augix/augix.github.com
R
false
false
9,648
r
# goal: show county result # functions ## from cumsum to new cases cumulative2new = function(cumulative) { # part 1: fill NA b=cumulative b2 = rbind(0,b) # put 0 for 1st day for (i in 2:nrow(b2)) { idx = is.na(b2[i,]) # find days of NA b2[i, idx] = b2[i-1, idx] # fill NA with values from the previous da...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generate_data.R \name{add_pseudo_obs} \alias{add_pseudo_obs} \title{Add pseudo observations to a data frame} \usage{ add_pseudo_obs(data, tme = c(17.5, 20, 26.5, 35)) } \arguments{ \item{data}{A data frame with censored survival times for 2 o...
/man/add_pseudo_obs.Rd
permissive
sachsmc/pseupersims
R
false
true
507
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generate_data.R \name{add_pseudo_obs} \alias{add_pseudo_obs} \title{Add pseudo observations to a data frame} \usage{ add_pseudo_obs(data, tme = c(17.5, 20, 26.5, 35)) } \arguments{ \item{data}{A data frame with censored survival times for 2 o...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/quick_map.R \name{quick_map} \alias{quick_map} \title{Quickly create a choropleth sketch} \usage{ quick_map( data, name = name, value = value, level = c("town", "neighborhood", "tract"), city = NULL, n = 5, palette = "GnBu", t...
/man/quick_map.Rd
permissive
CT-Data-Haven/cwi
R
false
true
1,886
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/quick_map.R \name{quick_map} \alias{quick_map} \title{Quickly create a choropleth sketch} \usage{ quick_map( data, name = name, value = value, level = c("town", "neighborhood", "tract"), city = NULL, n = 5, palette = "GnBu", t...
extrapolSpeedMatch <- function(d, x, y, dSpeed) { library(dplyr) dSub <- dSpeed %>% filter(subject == as.character(unique(d$subject)), number == as.character(unique(d$number))) extr <- approx(d[[x]],d[[y]],dSub[[x]]) extr <- data.frame(extr) extr <- extr[complete.cases(extr$y),] names(extr) ...
/R/extrapolSpeedMatch.R
no_license
danilinares/2014LinaresGorea
R
false
false
341
r
extrapolSpeedMatch <- function(d, x, y, dSpeed) { library(dplyr) dSub <- dSpeed %>% filter(subject == as.character(unique(d$subject)), number == as.character(unique(d$number))) extr <- approx(d[[x]],d[[y]],dSub[[x]]) extr <- data.frame(extr) extr <- extr[complete.cases(extr$y),] names(extr) ...
context("Check hugo_continue_investigation() function") hugo_start_investigation("hugo_test_continue") test_that("No saved sessions exist",{ expect_error(hugo_continue_investigation()) }) test_that("Variables are loaded",{ test_environment <- new.env() test_environment$test_variable <- 5 hug...
/tests/testthat/test_hugo_continue_investigation.R
no_license
hugo4r/hugo
R
false
false
2,851
r
context("Check hugo_continue_investigation() function") hugo_start_investigation("hugo_test_continue") test_that("No saved sessions exist",{ expect_error(hugo_continue_investigation()) }) test_that("Variables are loaded",{ test_environment <- new.env() test_environment$test_variable <- 5 hug...
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/1615827595-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...
# Cours A2021 : Act-3000 # # Semestre : A2021 # # Chapitre : Mesures, Indices, Ordres stochastiques # # Exercice no2 # beta1<-1/2 beta2<-1/3 beta3<-1/5 c1<-(beta2/(beta2-beta1))*(beta3/(beta3-beta1)) c2<-(beta1/(beta1-beta2))*(beta3/(beta3-beta2)) c3<-(beta1/(beta1-beta3))*(beta2/(beta2-beta3)) c(c1,c2,c3) sum(c1,c2,c...
/Chapitre_1_OrdresMesures/exOrdresMesures1002.R
no_license
emarceau/CodesRA2021
R
false
false
645
r
# Cours A2021 : Act-3000 # # Semestre : A2021 # # Chapitre : Mesures, Indices, Ordres stochastiques # # Exercice no2 # beta1<-1/2 beta2<-1/3 beta3<-1/5 c1<-(beta2/(beta2-beta1))*(beta3/(beta3-beta1)) c2<-(beta1/(beta1-beta2))*(beta3/(beta3-beta2)) c3<-(beta1/(beta1-beta3))*(beta2/(beta2-beta3)) c(c1,c2,c3) sum(c1,c2,c...
# == title # HTML report for package dependency heaviness analysis # # == param # -pkg An object from `pkgndep`. # -file The path of the html file. If it is not specified, the report will be automatically opened in the web browser. # # == value # The path of the HTML file of the report. # # == example # if(interactiv...
/R/report.R
permissive
jokergoo/pkgndep
R
false
false
1,541
r
# == title # HTML report for package dependency heaviness analysis # # == param # -pkg An object from `pkgndep`. # -file The path of the html file. If it is not specified, the report will be automatically opened in the web browser. # # == value # The path of the HTML file of the report. # # == example # if(interactiv...
#' A and S matrix estimation by CAM #' #' This function estimates A and S matrix based on marker gene clusters #' detected by CAM. #' @param MGResult An object of class "\code{\link{CAMMGObj}}" obtained from #' \code{\link{CAMMGCluster}} function. #' @param PrepResult An object of class "\code{\link{CAMPrepObj}}" o...
/R/CAMASest.R
no_license
MahShaaban/debCAM
R
false
false
7,799
r
#' A and S matrix estimation by CAM #' #' This function estimates A and S matrix based on marker gene clusters #' detected by CAM. #' @param MGResult An object of class "\code{\link{CAMMGObj}}" obtained from #' \code{\link{CAMMGCluster}} function. #' @param PrepResult An object of class "\code{\link{CAMPrepObj}}" o...
# Title: Scripts for Wolf_etal_2020 ECR Manuscript # Author: JW # Input: Final dataset in .csv format # Environment setup pkgs<- c('tidyverse','ggplot2', 'extrafont', 'sjPlot', 'patchwork') invisible(lapply(pkgs, require, character=TRUE)) dat<- read.csv("output/Dataset_Final.csv") # Reducing dataset to relev...
/Wolf_etal_2020_ECR_manucript.R
no_license
Colin99999/ECR_manuscript
R
false
false
5,902
r
# Title: Scripts for Wolf_etal_2020 ECR Manuscript # Author: JW # Input: Final dataset in .csv format # Environment setup pkgs<- c('tidyverse','ggplot2', 'extrafont', 'sjPlot', 'patchwork') invisible(lapply(pkgs, require, character=TRUE)) dat<- read.csv("output/Dataset_Final.csv") # Reducing dataset to relev...
library(testthat) library(LiblineaR.ACF) test_check("LiblineaR.ACF")
/data/genthat_extracted_code/LiblineaR.ACF/tests/testthat.R
no_license
surayaaramli/typeRrh
R
false
false
70
r
library(testthat) library(LiblineaR.ACF) test_check("LiblineaR.ACF")
source(paste0(getwd(),"/QuantileRegression/VQR/init_VQR.R")) inputs<- initMKQR("GDPDebtDeficit") X<-inputs$X;Y<-inputs$Y;n<-inputs$n;d<-inputs$d;r<-inputs$r;solver<-inputs$solver step<-0.1 nu<-matrix(1/n,n,1) T <- seq(0,1,by=step) lT <- length(T) if (d!=2){stop("Dimension d not supported")} UEtAlprov <- prepareU2D(...
/VQR/Others/test_VQR.R
no_license
Shai128/mqr
R
false
false
566
r
source(paste0(getwd(),"/QuantileRegression/VQR/init_VQR.R")) inputs<- initMKQR("GDPDebtDeficit") X<-inputs$X;Y<-inputs$Y;n<-inputs$n;d<-inputs$d;r<-inputs$r;solver<-inputs$solver step<-0.1 nu<-matrix(1/n,n,1) T <- seq(0,1,by=step) lT <- length(T) if (d!=2){stop("Dimension d not supported")} UEtAlprov <- prepareU2D(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dissimilarity.R \name{maximumSimilarityLinks} \alias{maximumSimilarityLinks} \title{Finds periods to link using minimum dissimilarity.} \usage{ maximumSimilarityLinks(x) } \arguments{ \item{x}{a matrix containing a dissimilarity meas...
/man/maximumSimilarityLinks.Rd
no_license
cran/IndexNumR
R
false
true
1,146
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dissimilarity.R \name{maximumSimilarityLinks} \alias{maximumSimilarityLinks} \title{Finds periods to link using minimum dissimilarity.} \usage{ maximumSimilarityLinks(x) } \arguments{ \item{x}{a matrix containing a dissimilarity meas...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/map_categorical_encoding.R \name{map.categorical.encoding} \alias{map.categorical.encoding} \title{Categorical mapping tables} \usage{ map.categorical.encoding(data, x, y = NULL, max.levels = 10, min.percent = 0.025, track.features = TRUE, ...
/man/map.categorical.encoding.Rd
permissive
XanderHorn/lazy
R
false
true
1,884
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/map_categorical_encoding.R \name{map.categorical.encoding} \alias{map.categorical.encoding} \title{Categorical mapping tables} \usage{ map.categorical.encoding(data, x, y = NULL, max.levels = 10, min.percent = 0.025, track.features = TRUE, ...
test_that("multiple inputs", { expect_equal(round(sum(get_eventProportion(seq(.01,5,length.out = 100),1),4)), 84) expect_equal(round(get_eventProportion(0.014,1),4), 0.0139) })
/tests/testthat/test-get_hazardRate.R
no_license
ChristophAnten/BSSRed
R
false
false
181
r
test_that("multiple inputs", { expect_equal(round(sum(get_eventProportion(seq(.01,5,length.out = 100),1),4)), 84) expect_equal(round(get_eventProportion(0.014,1),4), 0.0139) })
### Exercise 1 ### # Load the httr and jsonlite libraries for accessing data install.packages("httr") library("httr") GET("https://ischool.uw.edu/") install.packages("jsonlite") library("jsonlite") ## For these questions, look at the API documentation to identify the appropriate endpoint and information. ## Then s...
/exercise-1/exercise.R
permissive
trepaolini/module11-apis
R
false
false
2,049
r
### Exercise 1 ### # Load the httr and jsonlite libraries for accessing data install.packages("httr") library("httr") GET("https://ischool.uw.edu/") install.packages("jsonlite") library("jsonlite") ## For these questions, look at the API documentation to identify the appropriate endpoint and information. ## Then s...
function(){ tabPanel("About", HTML('<div style="float: right; margin: 0 5px 5px 10px;"><iframe width="560" height="315" src="//www.youtube.com/embed/ilZUzn3XUC0" frameborder="0" allowfullscreen></iframe></div> <p style="text-align:justify">This web application provides summary statistics, graphics, and basic ex...
/ak_station_cru_eda/about.r
no_license
ua-snap/eris2
R
false
false
3,911
r
function(){ tabPanel("About", HTML('<div style="float: right; margin: 0 5px 5px 10px;"><iframe width="560" height="315" src="//www.youtube.com/embed/ilZUzn3XUC0" frameborder="0" allowfullscreen></iframe></div> <p style="text-align:justify">This web application provides summary statistics, graphics, and basic ex...
# With the raw data file in the working directory, the file is read # in as csv2 because of semicolon separator plotDF1 <- read.csv2("household_power_consumption.txt",stringsAsFactors=FALSE) # File is subsetted for the required dates: February 1st and 2nd, 2007 plotDF2 <- subset(plotDF1,plotDF1$Date=="1/2/2007"|plot...
/plot2.R
no_license
DavidCline/ExData_Plotting1
R
false
false
1,015
r
# With the raw data file in the working directory, the file is read # in as csv2 because of semicolon separator plotDF1 <- read.csv2("household_power_consumption.txt",stringsAsFactors=FALSE) # File is subsetted for the required dates: February 1st and 2nd, 2007 plotDF2 <- subset(plotDF1,plotDF1$Date=="1/2/2007"|plot...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sim_survey.R \name{sim_sets} \alias{sim_sets} \title{Simulate survey sets} \usage{ sim_sets( sim, subset_cells, n_sims = 1, trawl_dim = c(1.5, 0.02), min_sets = 2, set_den = 2/1000, resample_cells = FALSE ) } \arguments{ \item{s...
/man/sim_sets.Rd
no_license
PaulRegular/SimSurvey
R
false
true
1,552
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sim_survey.R \name{sim_sets} \alias{sim_sets} \title{Simulate survey sets} \usage{ sim_sets( sim, subset_cells, n_sims = 1, trawl_dim = c(1.5, 0.02), min_sets = 2, set_den = 2/1000, resample_cells = FALSE ) } \arguments{ \item{s...
makeCacheMatrix <- function(x = matrix()) {#set the matrixes m <- NULL set <- function(y) { x <<- y m <<- NULL } get <- function() x setInv <- function(invert) m <<- invert getInv <- function() m list(set = set, get = get, setInv = setInv, getInv = getInv)...
/cachematrix.R
no_license
fernandovbr/ProgrammingAssignment2
R
false
false
683
r
makeCacheMatrix <- function(x = matrix()) {#set the matrixes m <- NULL set <- function(y) { x <<- y m <<- NULL } get <- function() x setInv <- function(invert) m <<- invert getInv <- function() m list(set = set, get = get, setInv = setInv, getInv = getInv)...
source("Optd_l1.R") source("Optd_l2.R") source("Optd_l3.R") source("Optd_l4.R") Optd <- function(a, b, c){ if(a == b | a == c | b == c){ stop("No shared choices allowed; e.g. a = b") } X <- data.frame(Int = c("I1", "I2", "I3", "I4"), PW = 0) x <- sort(c(a, b, c)) p1 <- x[1] p2 <- x[2] p3 <- ...
/Optiver/Optd.R
no_license
cwcomiskey/Misc
R
false
false
930
r
source("Optd_l1.R") source("Optd_l2.R") source("Optd_l3.R") source("Optd_l4.R") Optd <- function(a, b, c){ if(a == b | a == c | b == c){ stop("No shared choices allowed; e.g. a = b") } X <- data.frame(Int = c("I1", "I2", "I3", "I4"), PW = 0) x <- sort(c(a, b, c)) p1 <- x[1] p2 <- x[2] p3 <- ...
################################################################################ # functions to calculate IIT ################################################################################ calIIT <- function(imp, exp){ if(imp + exp == 0){ return(0) } else { return(1-(abs(imp - exp)/(imp + exp))) } } Cl...
/R/functions/visualize-functions.R
permissive
kosukeimai/dynCluster
R
false
false
38,203
r
################################################################################ # functions to calculate IIT ################################################################################ calIIT <- function(imp, exp){ if(imp + exp == 0){ return(0) } else { return(1-(abs(imp - exp)/(imp + exp))) } } Cl...
# Functions that later functions use # Function to modify a basic model to a model for strong invariance where # the variance is fixed to 1 in the first group and free in the second # the mean is fixed to 0 in the first group and free in the second # Argument: the basic model modify_means_and_var_to_strong <- functio...
/preliminary analysis functions.R
no_license
bennysalo/MI
R
false
false
10,629
r
# Functions that later functions use # Function to modify a basic model to a model for strong invariance where # the variance is fixed to 1 in the first group and free in the second # the mean is fixed to 0 in the first group and free in the second # Argument: the basic model modify_means_and_var_to_strong <- functio...
run_analysis <- function() { ##Assuming data has been unzipped to home directory drive, retrieve data labels features <- read.table("./UCI HAR Dataset/features.txt",header=FALSE,sep="") features$col <- sub("\\(\\)","",features[,2]) activities <- read.table("./UCI HAR Dataset/activity_labels.txt",header=FALSE...
/run_analysis.R
no_license
JaredAllen2/Coursera-Getting_And_Cleaning_Data
R
false
false
2,404
r
run_analysis <- function() { ##Assuming data has been unzipped to home directory drive, retrieve data labels features <- read.table("./UCI HAR Dataset/features.txt",header=FALSE,sep="") features$col <- sub("\\(\\)","",features[,2]) activities <- read.table("./UCI HAR Dataset/activity_labels.txt",header=FALSE...
#' Title #' #' @param geno Prefix for the genotype plink files #' @param covs Covariartes file for individuals in the `geno` plink files #' @param predictor The name of the variable to predict as it appears at the covariates file #' @param id The individual ID #' @param fid The family ID for the individual #' @param...
/R/io_dev.R
no_license
juanbot/Meta-ML
R
false
false
60,113
r
#' Title #' #' @param geno Prefix for the genotype plink files #' @param covs Covariartes file for individuals in the `geno` plink files #' @param predictor The name of the variable to predict as it appears at the covariates file #' @param id The individual ID #' @param fid The family ID for the individual #' @param...
getwd() library(ggplot2) library(stringr) #phorid comparison data_phorid <- read.csv("phorid_data.csv") part_order<-c("Head","Thorax","Abdomen") p_len<-ggplot(data=data_phorid, aes(x=Part, y=Length, fill=Measurer)) + geom_bar(stat="identity",position="dodge")+ facet_wrap(~ZRC)+ theme_gray()+ scale_...
/phorid comparison.R
no_license
pokeyhedgehog/notbsfrepo
R
false
false
2,769
r
getwd() library(ggplot2) library(stringr) #phorid comparison data_phorid <- read.csv("phorid_data.csv") part_order<-c("Head","Thorax","Abdomen") p_len<-ggplot(data=data_phorid, aes(x=Part, y=Length, fill=Measurer)) + geom_bar(stat="identity",position="dodge")+ facet_wrap(~ZRC)+ theme_gray()+ scale_...
#' @title Minimum PSM Count in HCC827 Gefitinib Cell Line. #' @description Minimum PSM, Peptide Sequence Match, Count table #' for HCC827 Gefitinib Cell Line. #' @name hcc827GefPSMCount #' @docType data #' @usage hcc827GefPSMCount #' @format A data frame where 10398 protein gene-centric ids minimum PSM count. #' @keywo...
/R/hcc827GefPSMCount.R
no_license
TanerArslan/SubCellBarCode
R
false
false
429
r
#' @title Minimum PSM Count in HCC827 Gefitinib Cell Line. #' @description Minimum PSM, Peptide Sequence Match, Count table #' for HCC827 Gefitinib Cell Line. #' @name hcc827GefPSMCount #' @docType data #' @usage hcc827GefPSMCount #' @format A data frame where 10398 protein gene-centric ids minimum PSM count. #' @keywo...
testlist <- list(AgeVector = 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), ExpressionSet = structure(c(1.63064200184954e+212, 1.11558267938731e+157, 2.3453288146775e+59, 7.59955788945772e-256, 5.55398...
/myTAI/inst/testfiles/cpp_omitMatrix/AFL_cpp_omitMatrix/cpp_omitMatrix_valgrind_files/1615845416-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
1,090
r
testlist <- list(AgeVector = 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), ExpressionSet = structure(c(1.63064200184954e+212, 1.11558267938731e+157, 2.3453288146775e+59, 7.59955788945772e-256, 5.55398...