blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3b1e3f57e248ce27d9aea3a811b842862d2e32cf | 714962052a985c87dce8862d92b2fbf355b780b2 | /R/matchSamples2DB.R | 75d6aa9d34e0843c1b75fc1aace5760d7fe6fd78 | [] | no_license | jsaintvanne/metaMS | ecbfba7c4fb5e64720ed6e26f3e3fff9f54cac48 | a1feb7d96901c74615876d9f3fa80f1fb4d20adb | refs/heads/master | 2023-03-19T15:51:44.592159 | 2023-03-01T15:04:40 | 2023-03-01T15:04:40 | 152,211,991 | 0 | 0 | null | 2018-10-09T08:03:21 | 2018-10-09T08:03:21 | null | UTF-8 | R | false | false | 3,685 | r | matchSamples2DB.R | ## Matching grouped data with the database of standards Input: msp data object containing the samples, a msp data object
## containing the preprocessed DB, and some settings in the form of a list. Output: a list of two elements, both nested
## lists: the first indicates which pseudospectrum in which sample is associat... |
a328d3ba246a0f2050e59f189d0b60cd066da462 | a0f1cad740b09d49b7fda76403a3a49513ded2a9 | /man/sd_posterior_fun.Rd | 4d4c589efd6dcbae66e3bca65a25c3924de9188c | [
"MIT"
] | permissive | jandraor/readsdr | 2f2d15ba78337161d22d5727399acb1aa1c78271 | b92dc373eaba5625bd322e8da8a925a690e6f167 | refs/heads/master | 2023-06-23T15:51:22.659018 | 2023-06-09T12:05:48 | 2023-06-09T12:05:48 | 205,191,444 | 17 | 3 | null | null | null | null | UTF-8 | R | false | true | 2,028 | rd | sd_posterior_fun.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/posterior_fun.R
\name{sd_posterior_fun}
\alias{sd_posterior_fun}
\title{Posterior function}
\usage{
sd_posterior_fun(
filepath,
meas_data_mdl,
estimated_params,
start_time = NULL,
stop_time = NULL,
timestep = NULL,
integ_method ... |
0470dd74de2f96b8a66a5080f2e2be7b7388e4c2 | 1fcb4eda84e3b4bb8d25fe9a8bed68ab706df2a7 | /share/experiments/fsl2camino.R | 06ae608b3894cd48db6a70d36c4c787f6a3eaf21 | [] | no_license | test-fd301/tractor | 38501d46046c33c250441e1c46e7dc0e75060e2e | 9950c27f4534ea92f1e747f594cf67d9c7d76568 | refs/heads/master | 2021-01-16T20:14:05.494457 | 2012-09-06T15:46:02 | 2012-09-06T15:46:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 384 | r | fsl2camino.R | #@args source file
#@desc Convert an Analyze, NIfTI or MGH image file to a data stream for use with Camino.
suppressPackageStartupMessages(require(tractor.session))
runExperiment <- function ()
{
requireArguments("source file")
image <- newMriImageFromFile(Arguments[1])
fileName <- writeMriImageToCamino(i... |
5986aa191b81a52855173f9e6407e42335c6fbf2 | ff7062837c7431d385960835f65aaf91eeb6f5dc | /R/ncvs.R | 42cf89fd9b78fa61ca0da20bda3267a9bc4b485c | [
"MIT",
"CC-BY-4.0"
] | permissive | capnrefsmmat/worrywart | e8748f837cc6bba8d2c9dc79401bf9350cfee363 | 78f6842bc943e30f34b2a904cf5948e495e5b78e | refs/heads/master | 2021-01-10T12:59:27.946986 | 2016-02-26T01:13:17 | 2016-02-26T01:13:17 | 52,568,729 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,267 | r | ncvs.R | ## Analysis of NCVS data
library(dplyr)
population <- tbl_df(read.csv("../data/ncvs-personal/NCVS_PERSONAL_POPULATION_2010-2014.csv"))
victims <- tbl_df(read.csv("../data/ncvs-personal/NCVS_PERSONAL_VICTIMIZATION_2010-2014.csv"))
## Return incidents per 1,000 persons
count_to_rate <- function(pop, incidents) {
d... |
9e9bdfd69b880ec7481f4cd93f47d8d08c29fb23 | 5b6179f52aa5df28dc2527b0dcfa809e8e502c5d | /Codes/assess_data_and_model_correspondence.R | 37087b48c6a2643c70924585d0699c813000ad70 | [] | no_license | jms5151/EVP | e9de694f9e062ca149a2cac5e5d72e8f7d98f3f0 | 3ef8208d10353d6d058b0ea8085d9cc0a14ba20a | refs/heads/master | 2021-06-05T18:05:24.776867 | 2020-06-12T02:53:07 | 2020-06-12T02:53:07 | 150,645,258 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,732 | r | assess_data_and_model_correspondence.R | # calculate r, percentiles, and z-scores to assess correspondance between models and data
rm(list=ls()) #remove previous variable assignments
# load libraries
library(plyr)
library(Metrics)
# functions
# rsq <- function (x, y) cor(x, y) ^ 2
zscore <- function(x){(x - mean(x,na.rm=T)) / sd(x,na.rm=T)}
tau.calc <- func... |
d77c260345207f886c9987796b135d42cc3c27c7 | 653938d74ed404a4e16a284fcf13362409cb28fb | /TournamentFeatureSelectionUtility.R | fb1470597ff1d6e4dfed1b0c1bd4eb40d9e88977 | [
"MIT"
] | permissive | Jakob-Bach/Tournament-FS | 8a8a23148e86daa76f85f1bb6d5261facb306f00 | 6b17c2e6933f7b85f9e1e96c1a80504135570a2a | refs/heads/master | 2022-11-18T05:48:33.215705 | 2020-07-13T15:32:54 | 2020-07-13T15:32:54 | 279,317,789 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,376 | r | TournamentFeatureSelectionUtility.R | library(data.table)
library(foreach)
# Creates a numeric dataset with the target variable being a boolean function
# of some (thresholded) predictors
createDemoData <- function(numObjects = 1000, numFeatures = 100, noiseFraction = 0.1) {
stopifnot(numFeatures >= 5)
set.seed(25)
result <- data.table(matrix(rnorm(... |
2ef4d17f13963f99f4bfcf543d0c2fb5101122ea | cbdfc6b1ee1121090a538a74a9408fa5c206a4f8 | /R/hierar.R | f3e993a715d62319c3459f84dda3231080f9f2c0 | [] | no_license | mplex/multiplex | 9d1eb7e1289f2fce4181094f831f6f020f1526d9 | 4153f723ac0c8d1e42c78fce91c26977d955f329 | refs/heads/master | 2023-07-21T17:23:08.732663 | 2023-07-10T12:10:46 | 2023-07-10T12:10:46 | 65,552,701 | 23 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,578 | r | hierar.R | hierar <-
function (W, x, type = c("person", "relation"))
{
if (isTRUE(attr(W, "class") == "Rel.Box") == FALSE)
stop("\"W\" must be a \"Rel.Box\" class.")
if (isTRUE(is.null(W$lbs) == TRUE) == FALSE) {
if (isTRUE(is.numeric(x) == TRUE) == TRUE) {
if (isTRUE(length(W$lbs) < x... |
3b8153264c1ba553b5e5e7e1aaedf1fc622440c6 | 1b48931b61ab012a48f8e03c02e27c33b94dd1e5 | /R/tools.R | 2abc615b999744e9cd274ec280968d726a8500fb | [] | no_license | LindaNab/simexvsmecor | e1d3b3aae36edd1732519e58adf68db8cab17619 | 68d36257796069f4fe52bfaf592927cf12d5ac3c | refs/heads/main | 2023-04-11T21:37:42.753768 | 2021-11-25T10:42:37 | 2021-11-25T10:42:37 | 348,475,790 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 654 | r | tools.R | #' Save output of one single replication of simulation study
#'
#' @param output the output to be saved
#' @param file the file where the output needs to be saved
save_output <- function(output,
file){
if (file.exists(file)){
con <- file(file)
while (isOpen(con)){
Sys.sleep(2)
... |
92bc0e5060feb001f6b435de1e29b39409bffb90 | 60f7d5fc008bb8de339b15dfb8fa6902c9ce6508 | /Fingerprint running scripts/adding additional platforms.R | cbb0c08e8261aea0cf96440e22d984948fcf1418 | [] | no_license | hidelab/database-fingerprint-scripts | 64c7421286df1ce617b342ca900bb87d59a8a0cc | 0f2a3d418745831d9ebb4320aaf213bd24e52fd8 | refs/heads/master | 2021-01-21T07:08:22.028743 | 2017-02-27T15:13:15 | 2017-02-27T15:13:15 | 83,323,508 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,092 | r | adding additional platforms.R | # Script for adding additional array types to the fingerprinting pipeline
# Author: Gabriel Altschuler
# Timestamp: 20111127
# Status: Updated for adding AFFY ST 1.0 platforms
# The file on the server that contains the chip information is
# "/home/galtschu2/fingerprint/data/chipframe.RData"
# this is loaded into the g... |
ff8cd6ecc59892e0e802d4b920b21eabea6876c9 | 49ff0bc7c07087584b907d08e68d398e7293d910 | /mbg/mbg_core_code/mbg_central/LBDCore/man/shiny_cov_layers.Rd | 1bc0a76fef3cda1f1ed18b23d681eaf6c9f9ae5b | [] | no_license | The-Oxford-GBD-group/typhi_paratyphi_modelling_code | db7963836c9ce9cec3ca8da3a4645c4203bf1352 | 4219ee6b1fb122c9706078e03dd1831f24bdaa04 | refs/heads/master | 2023-07-30T07:05:28.802523 | 2021-09-27T12:11:17 | 2021-09-27T12:11:17 | 297,317,048 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 616 | rd | shiny_cov_layers.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shiny_cov_layers.R
\name{shiny_cov_layers}
\alias{shiny_cov_layers}
\title{FUNCTION_TITLE}
\usage{
shiny_cov_layers(fixed_effects, gaul_list, run_date, indicator,
indicator_group)
}
\arguments{
\item{fixed_effects}{PARAM_DESCRIPTION}
\item... |
70441f104c0ddf7b3022e239131831afcdd7014c | 8e733103e35b2f97f3810b3dc2bb7dddde67ca3a | /inst/application/server.R | 6701df5bd01a3429a5889a269cb414ab405c4d97 | [
"MIT"
] | permissive | jakedilliott/ciraDash | 06eb6cb588cc61b1d4cce2c67bff5fe7e923c3d6 | eb8c8d02fa6c24cf34b205d5037f68a6fb84cfd1 | refs/heads/main | 2023-04-07T11:47:50.079724 | 2021-04-12T22:36:05 | 2021-04-12T22:36:05 | 317,966,909 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,737 | r | server.R | server <- function(input, output, session){
# Camp Risk Assessment Tool -----------------------------------------------
# Plot 1
campListen <- reactive ({
list(input$personnel, input$dispersal, input$duration)
})
observeEvent(campListen(), {
if (input$personnel != 0 && input$dispersal != 0 && input$d... |
07acfc13f3c9eb5a906721530860a4445ba694cb | ae7caa805c6f29ef51e0aea952634b8879072b8e | /code/wrangle/filter_rbcl_rel_abund.R | 1d14ad48daab76514f34785fd65c78c29963a9ab | [] | no_license | cengstro/bc_snow_algae_amplicon | 7a4ec3d0bfea58f27c6518f870b362f6dd5aee7e | 36360ff37bda68ed8b46fdb4f6df7e7ad1aa05c7 | refs/heads/master | 2023-05-25T05:22:47.299712 | 2023-05-11T16:38:06 | 2023-05-11T16:38:06 | 215,708,718 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,586 | r | filter_rbcl_rel_abund.R | # filter rbcl relative abund
library(tidyverse)
# input -----------------
rel_abund_rbcl <- read_csv(here("data/02_tidied/tidied.rbcl_rel_abund.csv"))
# protocols ------------------------
# parsed protocol vers
rel_abund_rbcl_1 <- rel_abund_rbcl %>%
dplyr::rename(protocol_sample_id = sample_id) %>%
mutate(prot... |
6c1d1999bfd3e6017b4331d9197ef5dce2aba69f | a1341b35ca3b2a4e2de75d8d3f47805644c88b82 | /man/load_str_m.Rd | 11782e8f734a122d6ab7711d9b1144465dc659fa | [
"MIT"
] | permissive | aranryan/arlodr | 304f3bfed8a7878bd6277fc3be6dd17f73701e2a | 923eca51099f6d162f1ef35077ab01627b009d1b | refs/heads/master | 2021-01-17T06:49:08.966104 | 2020-10-06T21:39:48 | 2020-10-06T21:39:48 | 48,458,911 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 828 | rd | load_str_m.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/load_str.R
\name{load_str_m}
\alias{load_str_m}
\title{Process monthly STR data}
\usage{
load_str_m(load_m, units = NULL)
}
\arguments{
\item{load_m}{Takes a wide dataframe with monthly lodging date as an input (e.g. with
each series in a col... |
296a739271e7f323c8b83098be75b874bafd0480 | 7a646632f9daf6f0e83b4076a79140c8e2814b87 | /R/res_munge_er.R | e83be5dcb5048d3c8a05544ea75c0229e7ca3ec8 | [
"MIT"
] | permissive | USAID-OHA-SI/Resurrection | 7d01685bb82c163b29f85c251b2bfb4d0c70a250 | 2ea85356bda4b16cc0663a070f5a303184e55664 | refs/heads/master | 2020-04-15T22:38:45.422968 | 2019-02-04T15:37:51 | 2019-02-04T15:37:51 | 165,080,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 539 | r | res_munge_er.R | # MUNGE ER DATA
# Project: Resurection
# A.Chafetz, USAID
# Purpose: clean up ER data for use
# Created: 2019-01-10
# MUNGE -------------------------------------------------------------------
## ER - expenditures
exp <- df_er %>%
filter(program %in% c("HTS", "C&T"),
!subobjectclass %in% c("Health- non p... |
bba3da4f53b0e31d2456625e432d717ac6e052d8 | ec2b9803a923d928751c76bbf1c31227928bffc9 | /man/samples.stats.Rd | f295f0ef27caf56df21296c4d2064b8f29bda026 | [] | no_license | cran/BRugs | a5106711a3f8d3fa0adb91465df235e0f27a1b18 | acafa2035e6ef39e566085026eeabf67cd1361cd | refs/heads/master | 2023-05-27T11:23:45.986896 | 2023-05-15T05:52:29 | 2023-05-15T05:52:29 | 17,677,954 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,219 | rd | samples.stats.Rd | \name{samplesStats}
\alias{samplesStats}
\title{Calculate summary statistics}
\description{This function produces summary statistics for a variable,
pooling over the chains selected.}
\usage{
samplesStats(node, beg = samplesGetBeg(), end = samplesGetEnd(),
firstChain = samplesGetFirstChain(),
las... |
cec6fd5b8f01c96f4a013b91fc23c265978c86fd | bfcc34df9896ef071e319bddec633b59e50ff282 | /inst/tests/test-getpipermute.r | b7a2faf3cc5e97f7b637f28ed4689628ae607b6f | [
"MIT"
] | permissive | HopkinsIDD/spatialtau | 84a9c85ba36e8e1d30e357b94f7b1c40786a98b0 | a023f2ac9ec71278f928fc6fa54d2f65bb3259f0 | refs/heads/main | 2023-03-17T02:53:09.015020 | 2023-02-07T21:54:48 | 2023-02-07T21:54:48 | 598,820,157 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,224 | r | test-getpipermute.r | context("get.pi.permute")
test_that("get.pi.permute returns appropriate values for test case 1 (equilateral triangle)" ,{
x <- rbind(c(1,0,0), c(1,1,0),c(2,.5,sqrt(.75)))
colnames(x) <-c("type","x","y")
test <- function(a,b) {
if (a[1] != 1) return(3)
if (b[1] == 2) return(1)
retu... |
8fe11251403589601378804b57871785f901a708 | c9ca31cc458898c38a906731f9d7b4e5582bf143 | /R/kendall_tau_distance.R | b7e3654e1e2514527e6a4eb13f4f7406454ee13f | [] | no_license | kelvinyangli/mbmml | d79c21abfd1645b68a8712ecf32c8d51e0caaab4 | 7008e61ca8c3a2588382eef41de1fb8abca4f3c5 | refs/heads/master | 2020-07-19T14:05:27.330180 | 2020-06-26T00:14:46 | 2020-06-26T00:14:46 | 206,461,707 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 504 | r | kendall_tau_distance.R | #' Kendall tau distance
#'
#' Kendall tau distance is the number of pairs of nodes that are in a reversed
#' order in an array a and an array b.
#' @param a A random vector or array.
#' @param b A random vector or array.
#' real value between 0 and 1, closed interval.
#' @export
kendall_tau_distance = function(a, b) {... |
a87dbfa8fc03c0aaaa0301c6dc5894d79215befa | 32a04a15f8bd9de836e9f61e6513ef03df7d4b48 | /analysis/south_pacific/Cuffnells_1804-5/Cuffnells_figure.R | 18184f8a37cea5fd45a7cb38171bc4330aa3b995 | [] | no_license | oldweather/EEIC | 7992e1a5c55d2a6232dbf9f38419202dbf9d57ae | b9eb3e7a5e91599162342dcda2bc6880df8be2b0 | refs/heads/master | 2021-01-10T05:54:27.861533 | 2015-09-28T16:01:18 | 2015-09-28T16:01:18 | 43,309,851 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,434 | r | Cuffnells_figure.R | # Make a synthesis figure for the Cuffnells
library(grid)
library(chron)
library(lattice)
library(maps)
# Load the map functions
source("../../../../scripts/sr.map.R")
gp_red = gpar(col=rgb(1,0,0,1),fill=rgb(1,0,0,1))
gp_blue = gpar(col=rgb(0,0,1,1),fill=rgb(0,0,1,1))
gp_black = gpar(col=rgb(0,0,0,1),fill=rgb(0,0,0... |
7553ac47156c454f83e022d57951f2c48eae6ea8 | 0db9b9ad4b00a908d9ddba1f157d2d3bba0331c4 | /man/make_sf_grid_list.Rd | fe82e64988da0c5ab38f3f3eb6936ea3041abeda | [
"MIT"
] | permissive | elipousson/sfext | c4a19222cc2022579187fe164c27c78470a685bb | bbb274f8b7fe7cc19121796abd93cd939279e30a | refs/heads/main | 2023-08-18T15:29:28.943329 | 2023-07-19T20:16:09 | 2023-07-19T20:16:09 | 507,698,197 | 16 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,709 | rd | make_sf_grid_list.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/st_make_grid_ext.R
\name{make_sf_grid_list}
\alias{make_sf_grid_list}
\title{Make a sf list by grid position}
\usage{
make_sf_grid_list(
x,
style = "rect",
ncol = 2,
nrow = 2,
.id = "grid_id",
crs = NULL,
...
)
}
\arguments{
\it... |
af9752ac82fb5d2233166fdca4b33c1b331423ad | 2ce63929d202eaa4d399a73ecd30393cef454b77 | /app.R | 92ba8a8fabce5f7282279326628ab732d8ae5525 | [] | no_license | datasketch/app-aga-indicadores | 90704cca4eb56669a8f570d3283b1852502a461a | e161bcde2a28ecb211c5ec199e29cf52ad884e7a | refs/heads/master | 2023-04-18T01:16:11.959322 | 2021-04-30T20:54:09 | 2021-04-30T20:54:09 | 357,972,630 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,231 | r | app.R | library(shinypanels)
library(hgchmagic)
library(dsmodules)
library(shinydisconnect)
library(shinycustomloader)
library(shinybusy)
library(googlesheets4)
webshot::install_phantomjs()
ui <- panelsPage(styles = "/* estílos radiobotones */
#mediciones label input {
... |
02c24727607b6acbd2c85304490e156c513ea3c6 | 1fdf7f898180e642f536832cfbc7bdae741a6e3f | /man/tvAcoef.Rd | b84fc94ebf057206aea488b15c2272e31d2eaea4 | [] | no_license | cran/tvReg | 083edb7dad03bfd33329be01287c38eb1d97729c | 9dc91162094eb0e6cc1f5f9b37e8ef88755a6dfe | refs/heads/master | 2023-04-29T11:13:26.663681 | 2023-04-19T19:40:02 | 2023-04-19T19:40:02 | 112,190,622 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 984 | rd | tvAcoef.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tvA.R
\name{tvAcoef}
\alias{tvAcoef}
\title{Time-Varying Coefficient Arrays of the Lagged Endogenous Variables of a TVVAR (no intercept).}
\usage{
tvAcoef(x)
}
\arguments{
\item{x}{An object of class \code{tvvar} generated by \code{\link{tvVA... |
f69cfa426df519593bc2bb922e6c5501cc08d23a | 487f74e7ab5bc00a281ca985d89b9a209964889e | /match.R | f8ff8bc41610ecc4a4577c46b0a38779e0e97fac | [] | no_license | natoromano/propensity | e512d906634328cb325bd92f8fad0761b6a84e02 | b49242ebb0c50284cbc7a1c918887a2bcc1bbe08 | refs/heads/master | 2020-07-21T15:08:41.955400 | 2017-01-25T22:23:28 | 2017-01-25T22:23:28 | 73,846,247 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,466 | r | match.R | ###############################################################################
# (Script)
# Apply baseline methods to OSIM2 simulated data.
#
# Nathanael Romano
###############################################################################
rm(list=ls())
setwd("/home/naromano/propensity")
source("R/utils.R")
########... |
0e57b427f8e126346eeb409d55dd535fd76bab56 | 476cb9da38e6631cd084f0127d4f9f76d2dd95b2 | /cluster/agg_pv.R | 246087d1fef67f409bc0a28ecc2ce781fe871bdb | [] | no_license | wangshenguiuc/dream_disease_module | aba4017a676dee25331b8a383e9281a39bda42d1 | d7af1131c3ed1febd573e03a187150c40f8871ea | refs/heads/master | 2021-07-08T19:41:42.014058 | 2017-10-06T19:05:04 | 2017-10-06T19:05:04 | 68,055,282 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 989 | r | agg_pv.R | library(pvclust)
library(parallel)
#library(snow)
#library(Rmpi)
### example using Boston data in package MASS
input_file = "E:\\swang141\\project\\DreamDiseaseModule\\Sheng\\Data\\Embedding_vector\\DCA\\DCA_50dim.txt"
mydata =read.table(file = input_file)
## multiscale bootstrap resampling (non-parallel)
bos... |
272ec00d195cb8fdbd5c4183ea124c86242082f8 | 953d646c65084f43db8d9b5ccb4f492255df7177 | /Climate_VD.R | a84d8f7db339f11806e45ba72c95c04d1db80069 | [] | no_license | jantumajer/Upor | b2d9a5b9135f8455d74b5c547134f5cd1feab0b6 | 83582fbb5fe9c0912380351103a86b0a16ed01c0 | refs/heads/master | 2020-05-23T10:17:18.748044 | 2017-01-30T10:38:52 | 2017-01-30T10:38:52 | 80,412,449 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,499 | r | Climate_VD.R | library(dplR)
library(bootRes)
chron_VD <- read.rwl ('f:/upor_n/REC_VD/VD_chronologie_AR.rwl', format=c("auto"))
upoR_VD <- read.rwl ('f:/upor_n/REC_VD/#VD_Nupor_AR.rwl', format=c("auto"))
chron_TVA <- read.rwl ('f:/upor_n/REC_VD/TVA_chronologie_AR.rwl', format=c("auto"))
upoR_TVA <- read.rwl ('f:/upor_n/REC_... |
3427be1ff4a770f690112273adeab2521975c093 | 29f4c6a0f224a2d5fd3cbe11e5b0e5c1d157c114 | /Codes/HLGM.R | 873446d06731c9cc0e615d00c6b49c53ac804272 | [] | no_license | shubhobm/Sparse-nonlinear-GM | 1be937920f3677ed6848976e425073972114d24a | a9e4e35f274820deb1a45a6d535798c05ebf6d05 | refs/heads/master | 2020-03-18T07:09:08.024343 | 2018-08-20T21:24:33 | 2018-08-20T21:24:33 | 134,436,113 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 46,090 | r | HLGM.R | ## ****************************************************#
## The Joint Multiple Multi-level Estimation (JMMLE) Method
## ****************************************************#
source('l1ML_Main.R')
## Clip a gradient
clip = function(x, ceil=1e3){
xx = x
for(i in 1:length(xx)){
if(abs(x[i]) > ceil){
xx[... |
15a65ee82214025a0811a44e8b628f57ea23125b | af0185f7ca10731e24ef5979f996059ff6018ed6 | /tests/testthat/test-obs_pairs_stsl.R | d163d544762a6f170be59b4b3b8b9fdfa4671958 | [] | no_license | HopkinsIDD/phylosamp | d5d81a4e6df0615c82bccf2a9ac8ddd278ddf77f | d43c73bfa108ed03cb5e6330518fd5b3fc1d74c2 | refs/heads/master | 2023-05-25T05:04:12.240279 | 2023-05-23T22:02:12 | 2023-05-23T22:02:12 | 266,897,409 | 12 | 2 | null | 2023-05-23T14:23:44 | 2020-05-25T23:07:33 | R | UTF-8 | R | false | false | 151 | r | test-obs_pairs_stsl.R | test_that("obs_pairs_stsl is deprecated", {
expect_snapshot({
expect_equal(obs_pairs_stsl(eta = 1, chi = 1, rho = 1, M = 10), 5)
})
})
|
e9ce774eea25dbff918355c768981353fad639fd | b4bdbefd20dd0f9229dad3135fb066112d60c348 | /R/gwann.R | 6cf98de4ced66eb416511bd964aa76c42e356f7a | [] | no_license | XWU-UT/gwann | c0ad9df5bfe87651f79cd1679c0a92a38291a032 | 9a934798d854e79774897a3f3836d81873ee325b | refs/heads/master | 2023-04-02T22:54:52.377856 | 2021-04-05T08:46:36 | 2021-04-05T08:46:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,055 | r | gwann.R | #' Build a Geographically Weighted Artificial Neural Network.
#'
#' @param x Matrix. Rows are observations, columns are independent variables.
#' @param y Vector. Values represent target values for the observations in \code{x}.
#' @param dm Matrix of distances between the observations of \code{x}.
#' @param trainI... |
e63bb73dcfc3f0d42426fdb3625f2f64237d9543 | e8719bb67917ca9cb076b8ae83048507ecdb014a | /R/plot-utils.R | 19809163ab61161db6b789735b2261b8db7a3b8e | [] | no_license | sauwai/NetRep | 9b42df9ff5ca33adbf4f37878b9d23030cde23ed | 90df54d99f00960a14eda2007242395801ba5f49 | refs/heads/master | 2021-01-20T19:09:26.663600 | 2016-02-12T06:03:50 | 2016-02-12T06:03:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,584 | r | plot-utils.R | #' Map a variable to a color gradient
#'
#' For a color gradient mapped onto a scale of values (\code{vlim}), retrieve
#' the color for any given \code{value}
#'
#' @param values a vector of values to retrieve the colors for.
#' @param palette a vector of colors
#' @param vlim limits of the values
#'
#' @return
#' The... |
b2257cfcf513a00d1afdec1e6fb2b560c5332fa6 | f4340e94bea6bbf53696fd0006d3290718f628e4 | /plot3.R | 99a6bae4e48a0056002a06d376449cf7702fc2f9 | [] | no_license | pculmsee/ExData_Plotting1 | b6492280bcded31cb1fd7743b96561898e3780a3 | 48f530b60db21b1f75949e050187c362d989ff26 | refs/heads/master | 2020-12-25T13:24:18.018609 | 2014-07-12T23:44:01 | 2014-07-12T23:44:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,325 | r | plot3.R | plot3<-function(){
#Download file to a temporary file
temp <- tempfile()
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp)
#load a subset of the data to a dataframe because we are only looking
#for 1/2/2007 and 2/... |
f696b3b3e69e726fcd634a71767243bdcb0b3b9a | 742e8da8e6221fb93a1b431b4cac60cf47db595c | /Script sapo.R | 358436e4ef8e1c4c80f2f7f3842a186adf219f30 | [] | no_license | VicenteSM/test_repo | 0dc28f45cceb3e3e0811983a89a9e4b1505ea050 | 97c65450d11b899cb0d3f9032ac773a9898a1954 | refs/heads/master | 2023-08-12T09:44:44.708989 | 2021-10-08T18:57:42 | 2021-10-08T18:57:42 | 414,771,651 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 92 | r | Script sapo.R | a=1
a
k
l
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
k
l
siponoposapo
asjkdnaosind
sakjdn a |
cbec8a0882b87e3e93f0c0d573b17679650248ef | fdf0c84619d71f10e9858924bde2294652b6ca85 | /run_analysis.R | 0aecd750792625ecec26883632994c659e18f997 | [] | no_license | froediger/Coursera-Getting-and-Cleaning-Data-Course-Project | d7232227b4513ccab9ff15c5131e4ada458141ee | cfee09e66f6cb74707b33eeb48840a9ececc6941 | refs/heads/master | 2020-05-18T06:45:02.810533 | 2015-02-22T14:40:10 | 2015-02-22T14:40:10 | 31,164,143 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,928 | r | run_analysis.R |
#########1. Merges the training and the test sets to create one data set
##read train and test data
x_train <- read.table("UCI HAR Dataset/train/X_train.txt")
y_train <- read.table("UCI HAR Dataset/train/y_train.txt")
subject_train <- read.table("UCI HAR Dataset/train/subject_train.txt")
x_test <- read.table("UCI ... |
f566e1ecd590ae253fb42f6f9e91ce2d90ee40cf | bd56d216f8ea8c7a5edab6986c168f8a405d9bb7 | /man/UploadPredictionDataset.Rd | 1d86427fcb8285460ac3baea6e0f459fa8c12fe8 | [] | no_license | cran/datarobot | 2b00acb58e93740848508666cf5b29e45fab4f94 | 2466c294c9827923d727d77393522e101fc087aa | refs/heads/master | 2023-08-23T18:48:30.147248 | 2023-08-07T20:00:02 | 2023-08-07T21:30:43 | 67,064,589 | 3 | 6 | null | null | null | null | UTF-8 | R | false | true | 3,552 | rd | UploadPredictionDataset.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PredictionDatasets.R
\name{UploadPredictionDataset}
\alias{UploadPredictionDataset}
\title{Function to upload new data to a DataRobot project for predictions}
\usage{
UploadPredictionDataset(
project,
dataSource,
forecastPoint = NULL,
... |
878ef7264bf443cea5f966af7be044fbfaa5ecac | ac2c5cc20b0f6bb26fc04264e4fa263afbad42c3 | /man/visualize_airport_delays.Rd | b15cb748f52561a247dfbe731828fe53908ab326 | [] | no_license | hugkn566/linreg_ridgereg | e3f5fc2d802ffeade2d8bdf7b1d049485e8e9c1c | 57369ebb0da1041555aabb12a9cc2d2bfe32dcf8 | refs/heads/master | 2022-12-29T18:37:42.266638 | 2020-10-15T06:41:21 | 2020-10-15T06:41:21 | 294,343,784 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 535 | rd | visualize_airport_delays.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualize_airport_delays.R
\name{visualize_airport_delays}
\alias{visualize_airport_delays}
\title{Visualize delays for airports in the USA}
\usage{
visualize_airport_delays()
}
\value{
Returns a ggplot object containing a scatterplot showing... |
88619136c3d53efe78c443443cdae060fa7e5e8c | e01ec4e948589819771e66c578b0c0192b9599f7 | /Analysis_of_AcadDW_Data/Take 3/test.R | a6bd47bcfd39682e5c0d516729605db785d60603 | [] | no_license | Ghosh-Sourav/Analysis_of_AcadDW_Data | 30f580f737dfa437922fbd89a87d192285c98e51 | 882e9eb2cd84aa50846498617abe491c2d7c4e1a | refs/heads/master | 2021-01-20T07:56:18.553439 | 2017-05-02T18:36:12 | 2017-05-02T18:36:12 | 90,065,703 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 340 | r | test.R |
test.matrix <- matrix(nrow = 10, ncol=5)
test.matrix[,1] <-1:10
test.matrix[,2] <-11:20
test.matrix[,3] <- 15*test.matrix[,1]
test.matrix[,4] <- 2*test.matrix[,1]
test.fx <- function(x){
x <- x+1001
return(x)
}
test.matrix[,5]<- sapply(test.matrix[,2], test.fx)
test.matrix[,5] <- test.matrix[,1]... |
d59bbfe5b4956d2e88f1c07ef208b6f19715ae98 | ea5d3e47ccf688ffba411b61468d6fffa81eca7e | /10_figure1.R | 5cd0800b23ed424db29e85991db68b6c45911461 | [] | no_license | SciBorgo/meta_analysis_prediction_intervals | 63f728945f12c8019e64ee80a6e034b59a8d3263 | ca1a9d21c4442ec97a89612fd87826c27b915f92 | refs/heads/main | 2023-04-06T18:39:45.793090 | 2023-03-30T05:19:14 | 2023-03-30T05:19:14 | 621,097,578 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,267 | r | 10_figure1.R |
# Make Figure 3
# Jan, 2023
# Load knee data
data = read.csv('knee_data.csv')
# Meta analysis
meta_fit <- metacont(n.e = n1,
mean.e = mu1,
sd.e = sigma1,
n.c = n2,
mean.c = mu2,
sd.c = sigma2,
... |
41850a6038107b5bf678d8e59809442f6b42112c | ae7ce100bb4635d28d1c94e208a5b743a08ba691 | /man/children.Rd | cf2ea49dcf860ab2f6b99d98a19206d3f32bf210 | [] | no_license | juba/questionr | 167003ba149ea18c4f554b8c7e7734ed2e6bb81d | 9dd36ad4b9d6e9a1b75da4a7acc685db40345d32 | refs/heads/master | 2023-02-04T05:48:58.894500 | 2023-01-31T15:24:54 | 2023-01-31T15:24:54 | 8,097,494 | 73 | 19 | null | 2021-01-19T15:34:36 | 2013-02-08T17:09:21 | R | UTF-8 | R | false | true | 379 | rd | children.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{children}
\alias{children}
\title{A fertility survey - "children" table}
\format{
a data frame containing one record for each child of the surveyed
women in the \link{fertility} survey.
}
\description{
Some fic... |
8eadf1bbda507adfcd470694340ab91351a09848 | 4c976a7f15313a51cc251bdfad5160a4d3647dfb | /860_processing/eia mapping.R | 55168d23d42ff979822afef31d0362dc7cb32944 | [] | no_license | xavier-gutierrez/energy_market_shares | 50d7d9900fbe62b4bcfb5f0223e97b7a16fb417e | 0375ce26b88bda954ffa1506f201d55d834d52db | refs/heads/master | 2021-01-21T22:22:03.144199 | 2018-02-02T19:45:13 | 2018-02-02T19:45:13 | 102,152,325 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,745 | r | eia mapping.R | eia.mapping <- cap.eia %>%
left_join(movers, by = 'prime_mover') %>%
left_join(fuels, by = c('fuel'='fuel')) %>%
select(prime_mover, fuel, prime_mover_text, fuel_text) %>%
distinct() %>%
mutate(overnight_category = "") %>%
mutate(overnight_category = ifelse(prime_mover == "CG" | prime_mover == "OT" | fuel =... |
01d23055ef9aa40237007df577663327511d8fa4 | 92c724afcc40c9e4d86af24b1b493e10fc8a994d | /R/ExampleLMMs.R | 85ac9287a22c15ffae6be2335b863d78e5dc935e | [
"MIT"
] | permissive | willgdjones/GTEx | 48d7551c765700d0db34bb8f6e01f7f2a55bec6c | c56a5d548978545ab8a98e74236d52343113e9e6 | refs/heads/master | 2021-09-13T13:21:12.928226 | 2018-02-06T16:42:41 | 2018-02-06T16:42:41 | 90,028,785 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 151 | r | ExampleLMMs.R | #Complete both of these assignments.
#http://www.bodowinter.com/tutorial/bw_LME_tutorial1.pdf
#http://www.bodowinter.com/tutorial/bw_LME_tutorial2.pdf
|
b15269939d6bcfd36012313296267008f69ace37 | cd1a031e692ce9cf31724aa5350960a935a7d10e | /R/get_legend.R | 05f139dd85408d707479dd55f107a80db85d26d9 | [] | no_license | larmarange/JLutils | 9349a35812d7d8d9f253fbc36ff51894d941ca8f | fe423fabb52d05d157366050c333a8a961c3e964 | refs/heads/master | 2023-04-13T05:00:14.587485 | 2023-03-23T17:57:11 | 2023-03-23T17:57:11 | 15,011,022 | 13 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,065 | r | get_legend.R | #' Extract the legend of a ggplot2
#'
#' @param p a ggplot with a legend
#'
#' @note Could be combined with \code{\link{multiplot}} (see examples).
#'
#' @references Adapted from \url{http://stackoverflow.com/questions/12539348/ggplot-separate-legend-and-plot}
#' @seealso \url{https://github.com/hadley/ggplot2/wiki/Sha... |
e45753a55737600cf07916b629f5e0d6d3142d0c | cea51b60f43efac0959bb6e52749f608e1eddd13 | /archived/runner-now-NLScompare/test_files/Sacch2_1.R | bb16db4d47f951254043258dafd244b9da92f8a3 | [] | no_license | ArkaB-DS/GSOC21-improveNLS | 6bd711bca3ad1deac5aff3128cfc02e0237915a9 | f33839f8ceef78591ee296c6e515cd52339bb2b0 | refs/heads/master | 2023-07-16T21:07:33.900548 | 2021-08-22T05:41:26 | 2021-08-22T05:41:26 | 398,542,725 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,625 | r | Sacch2_1.R | # NLSProbName: Sacch2_1.R
# NLSProbDescription: {The Sacch2 data frame has 10 rows and 2 columns from an experiment on the pharmacokinetics of
# saccharin.
# The two columns are:This data frame contains the following columns:
# `time`: a numeric vector giving the time since drug administration (min).
# `conc`: a numeri... |
09f42867923fab98442d45def2af46aaf033fde1 | 7ef9e366648d3db57221ec66b7b6793545c18dc2 | /ANALYSIS/scripts/COF.R | addf2660fb0b91b4fa0913c6bf6aad800787542d | [] | no_license | TMax66/AMR | c2b0e28dc008645bc78c06f13dc9d437ad1dacd1 | f5f09e7d8a876c19a896570a4e22d32ee3e36319 | refs/heads/master | 2023-03-05T13:29:38.784938 | 2021-02-15T11:23:51 | 2021-02-15T11:23:51 | 268,069,076 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,433 | r | COF.R | library("tidyverse")
library("lubridate")
library("timevis")
library("here")
library("readxl")
library(shiny)
library(DT)
library(dplyr)
library(tidyr)
library(ggplot2)
library(rpivotTable)
library(timevis)
library(janitor)
#library("vistime")
library("tidyverse")
library("timevis")
library("readxl")
library("here")
l... |
2930a18fd0dfc46de79d1d3b9ca063cef51e1a0b | c267b09529ad20ba29c23b9922cbb94ce5b2e2d8 | /man/getSuppaAnnotation.Rd | e0267e2ed2ed3b57e3e402f33fe6ba387ce8041e | [] | no_license | IlyaFinkelshteyn/psichomics | 7f004cffcdabf028ef3094b3a6a6b290fb377cd4 | a7f2db7954f6962ff7a487369c7b367a1d999daa | refs/heads/master | 2021-01-11T06:08:04.688256 | 2016-09-24T01:40:53 | 2016-09-24T01:40:53 | 69,070,120 | 0 | 0 | null | 2016-09-24T00:37:37 | 2016-09-24T00:37:36 | null | UTF-8 | R | false | true | 321 | rd | getSuppaAnnotation.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/events.R
\name{getSuppaAnnotation}
\alias{getSuppaAnnotation}
\title{Get SUPPA alternative splicing annotation}
\usage{
getSuppaAnnotation()
}
\value{
Retrieve annotation from SUPPA
}
\description{
Get SUPPA alternative splicing annotation
}
... |
d9efd45dd6b48bade7ca5ec203118483c12ac6e4 | 66ae31e851638ad20305409b99df93d8ce2f8133 | /man/colamdR.Rd | a0278767de882844a218bca9d289e16fdb51b7b2 | [] | no_license | rwoldford/edmcr | 150e1702ceb451d154223ff5e9ded10defeda9e6 | ee322d7dcc0bf3f497576c31a87a4886bc17d8a8 | refs/heads/main | 2021-12-06T06:09:38.997297 | 2021-09-08T17:59:47 | 2021-09-08T17:59:47 | 142,780,936 | 1 | 2 | null | null | null | null | UTF-8 | R | false | true | 902 | rd | colamdR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/colamdR.R
\name{colamdR}
\alias{colamdR}
\title{Column Approximate Minimum Degree Permutation}
\usage{
colamdR(M)
}
\arguments{
\item{M}{A matrix to be permuted.}
}
\value{
A vector containing the column minimum degree permutation... |
412758db51974e58d8b44c65a0ddbaddfe4d74f1 | d00e2c92951850bcb42e076202a078712add66d3 | /haematopoiesis/prepareData.R | 1af7f9e5a54bdce20c49a63d8e587f4d7ed1a939 | [] | no_license | LTLA/FurtherMNN2018 | d459bacc17ce6dedcbfb5f59283610e84ec45592 | 608991a7864826cd0f8901a876b165784f707713 | refs/heads/master | 2020-04-24T02:59:05.147866 | 2019-02-12T11:34:35 | 2019-02-12T11:35:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,087 | r | prepareData.R | # This script prepares data for the haematopoiesis analysis.
library(BiocFileCache)
bfc <- BiocFileCache(ask=FALSE)
set.seed(1000)
##########################################
##########################################
# Read the counts, metadata of Nestorowa et al. 2016
library(scater)
fname.F <- bfcrpath(bfc, "f... |
8d79634435053930dbdb7c63e053d0251de2e14b | 8ea3a91d4094429040f0f7d3e0bfb33338d9db89 | /Script7.R | 015d923e5c16155ae0140f4dcbb74883091cccd0 | [] | no_license | mgtagle/PrincipiosEstadistica2021 | b6f9f4809ba0fcdcb7115e2abfcb46e33fd1b49f | 363619ed4c0b78d377d39235ad91196550391ff5 | refs/heads/main | 2023-05-05T20:26:55.717969 | 2021-05-19T12:52:03 | 2021-05-19T12:52:03 | 335,982,115 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,645 | r | Script7.R | # 28.04.2021
# Principios de estadística
# Normalidad de datos
# Importar datos canopy ---------------------------------------------------
copa <- read.csv("Datos/canopy.csv", header = T)
head(copa)
cnpy.x <- density(copa$Cnpy)
hist(copa$Cnpy, freq = FALSE)
lines(cnpy.x, col="red", lwd=2)
# Prueba de Shapiro ----... |
c284ece5c77b4ba662e6fb50c25f3a0aa926d465 | b7aa8147a600210be44a6320c70dfaab4e6d1f56 | /R/evaluate.R | 914f181005730d411392f431b1135be2b18f5461 | [] | no_license | bartzbeielstein/SPOT | f60e1be5d264780d0a7092798ec37388834c3e00 | f55efb251dfb51e4393c166443193b7ef44e1350 | refs/heads/master | 2021-08-07T03:38:45.031674 | 2020-06-09T14:04:54 | 2020-06-09T14:04:54 | 187,638,021 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,875 | r | evaluate.R |
###################################################################################################
#' Evaluate Model
#'
#' This function produces an objective function with y=f(x) from a provided model fit.
#' Important note: this function expects \code{predict(object,newdata)} to return
#' a list. The \code{object$... |
4afae8edee9c1ef29c68c02506e3e6f3e1488dc7 | 8e3e9d61fbe2640f2b7bcd128647dd36dc6b60e6 | /man/calculateLoglikFromVariables.celda_C.Rd | 92941adb34a4e6b3245f204093f6fadd15d48f38 | [
"GPL-2.0-only",
"MIT"
] | permissive | AndrewGr12/celda | bcf115559635d8c7447f38642e0d9be78abd5a69 | 8ac2eeaa64f3204c45bca63732276573717381b2 | refs/heads/master | 2020-03-25T03:20:27.937760 | 2018-07-24T22:38:00 | 2018-07-24T22:38:00 | 143,336,504 | 0 | 0 | MIT | 2018-08-02T19:26:39 | 2018-08-02T19:26:38 | null | UTF-8 | R | false | true | 885 | rd | calculateLoglikFromVariables.celda_C.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/celda_C.R
\name{calculateLoglikFromVariables.celda_C}
\alias{calculateLoglikFromVariables.celda_C}
\title{Calculate the celda_C log likelihood for user-provided cluster assignments}
\usage{
calculateLoglikFromVariables.celda_C(counts, sample.... |
8dc329980fd686ea78efa377cf7ff0700b359020 | 6764afa51a85d200ef50ea01a5f7ef71064f0c35 | /finalPlotFuncs.R | bda6b2c16637e2ef2967ac76ff623abd8c74bfc7 | [] | no_license | aaronm70/batMods | ca37ee7ca46c993c55e234e041e0f01f4597f03d | 4fba52832fb1351108c826635f2e6808db55359e | refs/heads/master | 2023-07-20T11:46:48.814877 | 2021-09-02T15:17:37 | 2021-09-02T15:17:37 | 275,396,735 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,623 | r | finalPlotFuncs.R | library("miscTools")
library("ggpubr")
library("binom")
library("reshape2")
library("loo")
library("ggplot2")
library(miscTools)
library(reshape2)
library(cowplot)
##File locations##
if(Sys.info()['sysname']=="Darwin"){
fileLoc="/Users/alm204/OneDrive/emma aaron/data/Boonah/hendra-virus-test-results-flying-foxes.csv... |
12647edd14377bc1532d5ed5e7961f6b298df247 | 8ef3e422e2f5618fdb0bcb99574cc771962ee99e | /R/sdToss.R | ddeca5569caa2e118509ef0d8c5a4a81dbb1409b | [] | no_license | cran/tdm | f09134e94f9fb4d60133486d72dc84e1c80f99d2 | 293cc0a7e6d9641de189077cb5f46f6c146b5689 | refs/heads/master | 2016-08-03T21:51:21.507848 | 2014-12-16T00:00:00 | 2014-12-16T00:00:00 | 17,700,401 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 790 | r | sdToss.R | sdToss<-function(Dose){
Tau <-Tau
cl_F<-cl_F
v_F <-v_F
ka <-ka
k<-cl_F/v_F
is.Fentanyl<-is.Fentanyl
Cav<-Cav
### below 'OOsscpr()' can be found at 'pr.oscar.R' -YJ
Tmax<-log(ka/k)/(ka-k) # estimate Tmax first, and
Cmax_ss<-OOsscpr(Dose,Tau,Tmax) # then calc. estimated Cpeak
Cmin_ss<... |
6dc87ef4ea678ef51a9e40945c4e84b018e1ccae | e8975659e5ba1e05deb794ecf523cf235a96efb3 | /R/register_key.R | e9463de0bd5ccbcb92866c7f341dc3dd50d5d032 | [
"MIT"
] | permissive | 12mre1/geocodr | 99d92019d6a9717f9062438e239cc9fc176566f7 | a69ae90e4f50b3ced281baad98893087ed5fa146 | refs/heads/master | 2020-07-03T15:46:07.264983 | 2019-09-05T17:33:11 | 2019-09-05T17:33:11 | 201,956,538 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 473 | r | register_key.R | #' \code{register_key} Register's your API key needed to geocode. If the key is not registered,
#' The geocoding functions will throw errors.
#'
#' @param api_key The api key, as a character object.
#'
#' @importFrom ggmap register_google
#'
#' @examples \dontrun{
#' register_key('ASnERN405060i7NDNS') # This ke... |
76bc2be598996c975d733957a961d9135e8be0a8 | 17b4f4192e1084357bbb7f6e827ec8c29b17aa96 | /man/calc_KL_Ridge_no_scale.Rd | b4280428c0535f60065128172bbb690425c9b30b | [
"MIT"
] | permissive | stephenslab/VEB.Boost | 570023cee1e497f0c29f455f3bda7dd7d041094d | 45905d779c3ec3d2b97b54caaa5ed38661a7913a | refs/heads/master | 2023-06-24T15:07:25.167996 | 2023-06-07T20:30:40 | 2023-06-07T20:30:40 | 251,354,489 | 1 | 0 | null | 2020-04-01T17:31:19 | 2020-03-30T15:54:07 | R | UTF-8 | R | false | true | 501 | rd | calc_KL_Ridge_no_scale.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ridge_learner_no_scale.R
\name{calc_KL_Ridge_no_scale}
\alias{calc_KL_Ridge_no_scale}
\title{Computes KL divergence for Ridge}
\usage{
calc_KL_Ridge_no_scale(mu_post, L_post, V)
}
\arguments{
\item{mu_post}{is posterior mean of the coefficien... |
e117204deee342900d292bd25401cc05f994ac8d | b594559381882de514fcb9997421dfad59897c18 | /man/rgreta.Rd | 70b4e1ae338d2d6c8e8249c573b0568c608c8803 | [] | no_license | jeffreypullin/rgreta | d11e7105604d2dc4414b58652cd64312ff308f0b | e976698778c397ca8c0714f9017cc8b0981bf9d7 | refs/heads/master | 2020-04-23T14:31:18.940857 | 2019-02-18T07:37:42 | 2019-02-18T07:37:42 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 240 | rd | rgreta.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/package.R
\name{rgreta}
\alias{rgreta}
\title{rgreta: simple simulation of greta models}
\description{
rgreta easily sample statistical models written in greta
}
|
69fb37e36a2048a36c42b2095e802ef05d4c5182 | 65221cee65db30b78ac5dce086b2b4aa3b6455d6 | /Code/Appendix/p313.R | 5d29ea5e53a55d22285e5cf219a0b24c4542b0fc | [] | no_license | newstars/HelloR | f3544851d2c0cbc33425569bb70f6e8b38cd5de0 | 6b5791a7a23fc406e443d27f35f7692436bf5f8b | refs/heads/master | 2022-01-06T19:19:08.380494 | 2022-01-05T02:11:09 | 2022-01-05T02:11:09 | 98,985,770 | 34 | 41 | null | null | null | null | UTF-8 | R | false | false | 776 | r | p313.R | #부록 통계 분석 기법 맛보기
install.packages("readxl")
library(readxl) # readxl 패키지 로드
exdata1 <- read_excel("C:\Rstudy\Sample1.xlsx") # Sample1 엑셀 파일을 exdata1 데이터 세트로 저장
exdata1 # exdata1 데이터 세트 확인
# 성별, 지역별 분할표를 작성하여 SEX_AREA_CROSS 변수에 할당
sex_area_cross <- xtabs(~SEX + AREA, data = exdata1)
sex_area_cross # SEX_AREA_CROSS 확... |
26a4a00295bbcb018f6e281daa7312fcb041065d | 7ad9ae835d29ea5325775ed56a5ff4898820dafb | /example/fragment-requireSimsem.R | 67c3d16f0444014af33ea940d734a753f3ed3ed9 | [] | no_license | mronkko/matrixpls | 829528a76ee2c81ddcdd93aa3c9a39e8174cef1e | 7ae8b9c6e7b20d2503d452b328e12496278f5a70 | refs/heads/master | 2022-09-04T13:39:52.636494 | 2022-08-05T07:54:50 | 2022-08-05T07:54:50 | 7,702,950 | 6 | 8 | null | 2021-04-29T04:57:34 | 2013-01-19T12:31:41 | R | UTF-8 | R | false | false | 84 | r | fragment-requireSimsem.R | if(!require(simsem)){
print("This example requires the simsem package")
} else{
|
7bdbde22e22b822b25b7f402313938a61d87b740 | b204ce12f64d1695425328f23de122d5a0f1c068 | /Desktop/R_Project/Heat_Map.R | 290aa3fcd2d12e8dc6107493b4caf4a486b123ea | [] | no_license | SanchitAggarwal/R_Projects | 0cd837d8a0d3b35b5da5d0e6192f7557e7166272 | cd30b1d416e98b9dbe312a698b5172d60c4790e9 | refs/heads/master | 2020-12-26T00:53:28.901671 | 2014-09-22T12:54:08 | 2014-09-22T12:54:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 448 | r | Heat_Map.R | data <- read.csv("C:/Users/lokesh/Desktop/R_Tutorial/ppg2008.csv")
data <- data[order(data$PTS),]
row.names(data) <- data$Name
# ways to delete a column
#data<- subset(data, select=-Name)
#data$Name<-NULL
data <- data[,2:21]
#The data was loaded into a data frame, but it has to be a data matrix to make your he... |
9e077e13a709af2aa4bfbc1aed24e6ae0625243e | 7f7efdfc7187372b429160db4823154b5762c2e9 | /R/Mohr_circle.R | 9eb7b4c373b99bffd9628aa4b9edc415ca2dd32e | [] | no_license | riverarh/GMisc | 6c3a7b4cd6876b0a2246362c2f8e21f860687c8e | f2fc20562b30ba30df68ad949eb46626100df8e0 | refs/heads/master | 2022-10-04T14:49:15.774246 | 2020-06-08T13:07:02 | 2020-06-08T13:07:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,485 | r | Mohr_circle.R | #' @title Mohr circle solution and plot
#' @description Solves a Mohr circle problem for the given normal stresses, shear stress, and rotation angle, and plots the results.
#' @param sigx A number corresponding with the mayor normal stress
#' @param sigy A number corresponding with the minor normal stress
#' @param tau... |
85203db32b48c9b206f9e1e1baea737adbe751ca | 2f7683b283f89c2fa2639df7c4afcb89fa973845 | /cachematrix.R | 46504fc66c929a15012e1851d5e9fa832f8837a4 | [] | no_license | IgnacioArevalo/ProgrammingAssignment2 | 7ced441875bcab761c3e3a5c9545fe95c20b28bb | 16fd43a10ab0084a37dfd9de9ca3a0e2f9257f6e | refs/heads/master | 2021-01-14T12:31:13.806467 | 2014-12-18T21:53:54 | 2014-12-18T21:53:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,673 | r | cachematrix.R | makeCacheMatrix<-function(x=matrix()) {
m<-NULL # m will be our matrix. It is reset to NULL every time we call makeCacheMatrix
set<-function(y) { # Takes an input matrix
x<<-y # Saves that input matrix
m<<-NULL ... |
b2f5dcd5660792f4690616093db6ccec712f2d8e | 42050acb52839fd868036ae20298513e1d948968 | /Mushroom.R | 4ca3b5246604a54e9b0f2fbd31df46c9ced9c2fe | [] | no_license | ada2802/Mushroom | 7e906adb38140cc07ff21a4640ad96f4bdaaffa8 | 3b022e6ae62245a07ebe8a3658479bb1be7bd1e4 | refs/heads/master | 2021-01-22T07:31:49.177727 | 2017-09-04T01:14:35 | 2017-09-04T01:14:35 | 102,305,288 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,198 | r | Mushroom.R | #HW1-607
library(RCurl)
Mushroom <- getURL('https://archive.ics.uci.edu/ml/machine-learning-databases/mushroom/agaricus-lepiota.data')
?getURL
library(plyr)
df <- data.frame(read.csv(text=Mushroom, header=FALSE),sep="'")
head(df)
dim(df)
str(df)
library(psych) #Summary Statisitcs by Group
#https://arc... |
5460b8d13ecb414536d73583dba6f4bcd999a762 | dd61c4c1e08fe559eb37a3aec5a010273066509b | /practice.r | 354155e626f44466b2a3dde7fcd2dfed8b2b20e2 | [] | no_license | diptichaudhari24/SVM | c0b84709e863b778e9625531cd02820c8d2d9d2a | b4de15eb2182d630a038d52a1c32546fab357558 | refs/heads/master | 2020-03-29T05:34:25.873700 | 2017-06-18T00:01:31 | 2017-06-18T00:01:31 | 94,655,349 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 103 | r | practice.r | perceptron_learner<-function(df)
{
}
df<-read.csv("~/Documents/551/Exercise-4.csv", header = TRUE)
|
011e1666fe4958b8be20baa2304dfe0ecb9b7daf | 149f3951b04daec410cc29cf467c025b581a989a | /man/SMOTE.Rd | a083336902105505fc7414c3d1551eb626f9fbf3 | [] | no_license | Feigeliudan01/smotefamily | db71b1034b94159733bc6912ab761f3741f6e478 | 644ee74f9cf1b76a492eda4d99674d70616a72ee | refs/heads/master | 2022-04-02T19:09:19.966990 | 2019-05-30T06:30:02 | 2019-05-30T06:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,446 | rd | SMOTE.Rd | \name{SMOTE}
\alias{SMOTE}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Synthetic Minority Oversampling TEchnique
}
\description{
Generate synthetic positive instances using SMOTE algorithm
}
\usage{
SMOTE(X, target, K = 5, dup_size = 0)
}
%- maybe also 'usage' for other objects ... |
185a581649bbe2a1968211d5298cbc698ffc0be8 | 1e81deb64a22c92d6cd53842ae7d8be0c3e9d49b | /2019-10-01_all-the-pizza/rated-pizza-locations.R | cef5d809dcd53fc7f0a58b4fdb16661ef6f620c0 | [
"BSD-2-Clause"
] | permissive | jmcastagnetto/tidytuesday-kludges | 5bfea5ccd4640df4e9e5367794dbb09594ac32a3 | 13dcb24694acff3839a7e1322d725e80bb146ae0 | refs/heads/main | 2023-04-07T04:33:13.715619 | 2023-03-29T03:46:12 | 2023-03-29T03:46:12 | 193,815,379 | 9 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,116 | r | rated-pizza-locations.R | library(tidyverse)
library(geogrid)
library(tmap)
library(cowplot)
load(
here::here("2019-10-01_all-the-pizza/all_the_piza.Rdata")
)
# maps
usa_sf <- rnaturalearth::ne_states(iso_a2 = "US", returnclass = "sf")
hex_cells <- calculate_grid(usa_sf,
grid_type = "hexagonal",
... |
593dc734eca7e7bec5be18954e458eadeab004f4 | 0b99d267a9a3ae108e627051e5381cd9bef9bd27 | /R/exomepeak.R | 7d0b21672077e35761636066e4733ed872224995 | [] | no_license | ZW-xjtlu/exomePeak | 97670a7d758a4d83efd5f283f3d517d73bee832a | b02771ac177789fd844f1c14e9d9c5cb42097461 | refs/heads/master | 2020-05-18T16:46:08.050650 | 2020-04-02T05:23:46 | 2020-04-02T05:23:46 | 184,534,382 | 8 | 4 | null | null | null | null | UTF-8 | R | false | false | 7,338 | r | exomepeak.R | exomepeak <- function(
IP_BAM,INPUT_BAM,
GENOME = NA,
UCSC_TABLE_NAME = "knownGene",
GENE_ANNO_GTF = NA,
TXDB = NA,
TREATED_IP_BAM=character(0),
TREATED_INPUT_BAM=character(0),
OUTPUT_DIR=NA,
EXPERIMENT_NAME="exomePeak_output",
WINDOW_WIDTH=200,
SLIDING_STEP=30,
FRAGMENT_LENGTH=100,
READ_LENGT... |
384b0cacd37bea5ea3c0f865bcdbfd926f3b9e87 | c90b298bd859c3b9542a65da2e8885917d28c9e6 | /R/logLik.mixor.R | 2e2499a80b9004b7220e64ed9acd2144cbb6636f | [] | no_license | cran/mixor | f16b5b2a60470fed9f3a80390700e35b037cde56 | 2a9a67672767c6c2c38173711a600286e9d3e5ee | refs/heads/master | 2020-04-14T19:06:48.363567 | 2018-06-14T20:17:56 | 2018-06-14T20:17:56 | 27,953,583 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 60 | r | logLik.mixor.R | logLik.mixor <-
function(object, ...) {
object$RLOGL
}
|
17afc4d609fb51e4d357f6ea60a293e4edaa0fbb | 63df4dcc899e878c93ebb228d04be38c8decb857 | /Rcode.R | 75a4f7e39403912c6da8ee81c8351a4e53b8239f | [] | no_license | nickbiso/RepData_PeerAssessment1 | 9b50c820377066039c6d645e56082c5e95ac545e | 3d9528642bd3460e4f11168967fe9747d523a066 | refs/heads/master | 2021-01-18T10:40:52.197047 | 2016-02-04T17:49:19 | 2016-02-04T17:49:19 | 50,963,941 | 0 | 0 | null | 2016-02-03T01:08:50 | 2016-02-03T01:08:50 | null | UTF-8 | R | false | false | 3,718 | r | Rcode.R | #Loading and preprocessing the data
#(1)Load the data (i.e. read.csv())
dat<-read.csv("activity.csv",stringsAsFactors = FALSE)
#(2)Process/transform the data (if necessary) into a format suitable for your analysis
dat2<-transform(dat, date = as.Date(date, "%Y-%m-%d"))
#What is mean total number of steps taken per d... |
488f89e30d257525d2ffd90b524c03c5d7d0f580 | 8cd61c37165cba296349806fde208b1bc18e8053 | /parson_st_ETL.R | 2521848f7ec59c392327d7fb31015682a8973fa4 | [] | no_license | stevecrawshaw/airquality | 72cc8e5fa29e4ff0ccc71fd49ba1592a78c53e27 | 9c3700655b8754c948e9226da268427aada4dd27 | refs/heads/master | 2023-08-05T16:47:35.079208 | 2023-07-20T08:52:06 | 2023-07-20T08:52:06 | 241,667,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,318 | r | parson_st_ETL.R | library(xfun)
packages <- c("fastverse", "tidyverse", "openair", "janitor", "glue", "odbc", "dbplyr", "DBI", "writexl")
pkg_attach2(packages)
source("ODS/bcc_aq_data_envista.R")
con <- dbConnect(
)
tbl_215 <- tbl(con, "S008T15") %>%
select(Date_Time, Value1, Status1, Value2, Status2, Value3, Status3, Value4, Va... |
19371baee8a3e167de8c12ec6ade48209e686f06 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/DTComPair/examples/sesp.diff.ci.Rd.R | 20cbd9a61e8a6cf90b13963d5601d67753b8ca10 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 453 | r | sesp.diff.ci.Rd.R | library(DTComPair)
### Name: sesp.diff.ci
### Title: Confidence Intervals for Differences in Sensitivity and
### Specificity
### Aliases: sesp.diff.ci
### ** Examples
library(DTComPair)
t1 <- read.tab.paired(18, 14, 0, 18,
18, 12, 2, 18)
t1
sesp.diff.ci(t1, ci.method="wald", cont.corr=FALSE)... |
73fc5e9a9fc1037c83b95197e200f418700e420f | 1b194266323eae954aa257b8f4b3bfde240ad8bc | /ui.R | 099fc3fc1118610e89872b3dba059c9ad094fd8b | [] | no_license | Yiwen7735/DevelopingDataProductsWeek4 | 4b9a07c9d358da7249a048fe3937cfb4eaf384b7 | 7525b87c44caa8cf834475269be86030651d3fba | refs/heads/master | 2020-05-05T04:33:43.893003 | 2019-04-05T16:23:40 | 2019-04-05T16:23:40 | 179,716,343 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,537 | r | ui.R | #
# This is the user-interface definition 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)
# Define UI for application that draws a histogram
shinyUI(flui... |
83bf3982f2138ca784e630d5ea7b6e69f4c736ae | 50e7fe82d422c68d649ce2a133d0b4f48b6a192e | /R/UCD.ICT.r | 49e7b5f5bb14ca62fed644d9c9d459885153cbdb | [] | no_license | jooslee/UCD | 52917ead4b078ad6a79750d525ec297198e531fb | 84090e1b817fc20961f214847ca6e5c6968b8a25 | refs/heads/master | 2020-03-18T04:13:39.167981 | 2018-06-19T21:11:03 | 2018-06-19T21:11:03 | 133,582,486 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,199 | r | UCD.ICT.r | # three ICT datasets
Sys.setenv("PKG_CXXFLAGS"="-fopenmp")
Sys.setenv("PKG_LIBS"="-fopenmp")
library(ROCR)
library(caTools)
library(data.table)
qnorm.array <- function(mat) ############# correct one
{
mat.back = mat
mat = mat[!is.na(mat)]
mat = rank(mat, ties.method = "average");
mat = qnorm(mat / (len... |
db48dd134f9d078af3c449ef67ae56f398bd7dc0 | 55ac76adb9cfd550ba1041f784b1a9d6acaacaee | /Assignments/02_Analysis/06.R | 78879e1491b7b06a7e55437e8399d14eadd905c4 | [] | no_license | sanazy/Hesaba-Data-Science-Course | 6efc70280776fc8c69d9aa0a931de8d8ecc15ebd | f64b96703d7fd2be9fa980b2e9ad3bc7fce650df | refs/heads/main | 2023-07-14T20:23:50.969676 | 2021-08-15T18:48:22 | 2021-08-15T18:48:22 | 396,456,228 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,956 | r | 06.R | # Load libraries
library(engsoccerdata)
library(ggplot2)
library(tidyr)
library(dplyr)
library(lubridate)
# Load Spain dataset
fdb = as_tibble(spain)
# Create empty vectors
num_l <- vector()
num_d <- vector()
teams_l <- vector()
teams_d <- vector()
seasons <- vector()
# Exclude 3 seasons due to lack of information
... |
06b921ba7dee64c244defc0f59e20b547ff1f79f | 46053816f104f93c72cc582cf28fcbbfe30e6bdd | /Chapter07/c7_06_.R | 12177152efd2a4d6f317c1d92618d3873731b07b | [
"MIT"
] | permissive | andrewjcoxon/Hands-On-Data-Science-with-Anaconda | bcbfa3630fd25e00f937eed2f626fe20569fc2fa | 82504a059ecd284b3599fa9af2b3eb6bbd6e28f3 | refs/heads/master | 2023-01-13T20:36:06.069693 | 2020-11-12T18:19:44 | 2020-11-12T18:19:44 | 278,735,001 | 0 | 0 | MIT | 2020-07-10T21:18:33 | 2020-07-10T21:18:32 | null | UTF-8 | R | false | false | 454 | r | c7_06_.R | "
Name : c7_06.R
Book : Hands-on Data Science with Anaconda )
Publisher: Packt Publishing Ltd.
Author : Yuxing Yan and James Yan
Date : 3/15/2018
email : yany@canisius.edu
paulyxy@hotmail.com
"
A<-1.0
mean<-0.10
std<-0.5
set.seed(123)
nStock<-10
nRet<-50
#
n<-nStock*nRet
retM... |
6d121d3b3db5a5dc55b3c6b7e946e52a723a5db2 | c652cf77550a60f8b24aa014bdc5fecf971aa319 | /run_analysis.r | 427f2b48fcfd5e68d38b6e9f703b43dbdc0ca31a | [] | no_license | sgrimald89/getdataProject | c184bb046fa80e75d109cea2b61d189657a2163c | ca34ef415225cf0450e3013cd751ff1dbd739672 | refs/heads/master | 2020-04-30T02:07:16.912707 | 2014-07-26T09:36:05 | 2014-07-26T09:36:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,615 | r | run_analysis.r | library(plyr)
#if the UCI HAR Dataset folder does not exist in the working directory it will
#download the data and create the folder in the working directory
if(!file.exists("UCI HAR Dataset")){
fileURL<-"https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2F... |
d0e958b9ce11889cab14aca340f01f14cd3fb0c6 | 7a9da13703bc65b6e843169fc5c22f70775697b8 | /R/plot.SpatClust.R | 8f29e3a63453b15e8454496e4de672b6243400e2 | [] | no_license | MathieuEmily/SpatialClustering | 2fe179e9d9a9512b0b0c5ec98b5472c50d397080 | 58572282d273aef592352dda530ca4449d795785 | refs/heads/master | 2021-01-17T08:36:55.067677 | 2016-10-16T12:57:25 | 2016-10-16T12:57:25 | 63,958,535 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,366 | r | plot.SpatClust.R | plot.SpatClust <- function(x,method=c("CH","Seg"),plot.dendro=TRUE,plot.covariate=FALSE){
method <- match.arg(method)
w0 <- x$window
hh <- x$hh ## Récupération de la classification hiérarchique
group <- x$group ## Récupération des groupes
height <- getHeightCut(hh,ngr=x$ngroup) ## Stockage de la hauteur de coupe d... |
39560c4492ce60b410c3e5e4f95b3cf67d21c458 | 604a31300da0d7923819a5e890ce9e860b5bf320 | /man/plotInteractionsWithTargets.Rd | 78266798a1f9d7d7d9d9e103a447fa766aa1e287 | [] | no_license | tallulandrews/scTarNet | f54121bcaf60fdcf6c664dd3c904f2ec1deadd43 | dada65b9290c2f721fe5cce262b2a7df0fa6b54b | refs/heads/master | 2021-01-21T14:49:39.735900 | 2018-09-10T10:53:19 | 2018-09-10T10:53:19 | 95,344,667 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,424 | rd | plotInteractionsWithTargets.Rd | \name{plotInteractionsWithTargets}
\alias{plotInteractionsWithTargets}
\title{Plot pdCor TF-TF interactions with their targets}
\description{
Plot the gene-gene correlations inferred by calculateTFstoTargets, which are targets of the TF-TF interactions inferred by calculateConditionalCors.
}
\usage{
plotInteractionsWi... |
afeabc421993e08536cf7900698d7a937029da97 | 8de8832b04c12a34143c2d81b8d7dda2bf0b7372 | /R/two_component_gaussian.R | e19c2bca6375d9cfc8aa7e7cf8e685370980fcbe | [] | no_license | pfreese/emr | 3ac01539c842293f79a3d9cb41f83bebb34c1002 | 638f78ac8a541b2c690bab68b2d0917f9e9f1aca | refs/heads/master | 2020-12-15T01:01:59.777211 | 2020-01-19T20:22:09 | 2020-01-19T20:22:09 | 234,938,424 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,679 | r | two_component_gaussian.R |
mu <- 5
sigma <- 10
x <- -40
# mixture components. These are independent of any sample values
# mix_comp_1
# mix_comp_2
# Each point has a membership weight for each component
# mem_weight_1:
# mem_weight_2:
# mu_1, sd_1
# mu_2, sd_2
ls_mu <- list(`1` = 5,
`2` = 20)
ls_sd <- list(`1` = 3,
... |
bf4fefe50ada9cf1be4d579c7b86f1a076ff327b | 3ba20eb1ab9c2cf32e5f74008c4832f7417303f2 | /predictive_models/lasso/lasso1se_summary.R | 5b343e16ffc2b8fa0b85314dc15271a9b127aed5 | [] | no_license | S-Dhungana/tds_7 | 89ee06730bce0ede35429023d50413024db77348 | 043e7acd4a4d03759507816c9b795e2d48d86918 | refs/heads/main | 2023-04-20T07:34:02.879030 | 2021-05-06T20:18:43 | 2021-05-06T20:18:43 | 350,891,998 | 1 | 2 | null | 2021-05-06T20:07:01 | 2021-03-23T23:59:49 | HTML | UTF-8 | R | false | false | 2,183 | r | lasso1se_summary.R | #table of comorbidities included in the Lasso
comor10 <- readRDS("/rds/general/project/hda_students_data/live/Group7/General/Final/LASSO/comorbidities_selected10.rds")
comor5 <- readRDS("/rds/general/project/hda_students_data/live/Group7/General/Final/LASSO/comorbidities_selected5.rds")
comor3 <- readRDS("/rds/general... |
05b59c97c14200d1c89c5a3f43b2b6bddd04a381 | 0adeee26920729116762df0e28096cab8c8467ca | /inst/app/IO_UI.R | 604ec8371893b8438090653b0e175b31f6615c6c | [] | no_license | xxing9703/RHermes | b9ef4ec6fca89f5612c45c09c1c3836287bc09c9 | 5ca8d8ce3748742081ec3a6a514b91ed21ac241a | refs/heads/master | 2023-09-01T23:44:55.509637 | 2021-11-08T16:13:21 | 2021-11-08T16:13:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,336 | r | IO_UI.R | IO_UI <- function(id) {
ns <- NS(id)
tagList(
sidebarPanel(
div(
tags$span(h2("Save an RHermesExp RDS"), style = "display: inline-block; width: 90%"),
tags$span(actionButton(class = "help", label ="", inputId = ns("param_help"),
... |
b67daeaa353b3b107d10fe7a3dcaefbc92fab199 | 6d1d3e3d94d06dd8cc713b8ef18e2eacfc014bf1 | /R/MLalgorithms.R | c8fd47bf88f14e226a370f0f9841401b4c5eb043 | [
"MIT"
] | permissive | patrick-fernandez/breast-cancer-detection | ddb0ae4b3cc39fc1ecbd7eeb03ab78fa01a803ca | 82c94fbaa9b804136df4ff9e1bfe7a2284e25bfb | refs/heads/main | 2023-01-25T01:44:38.289897 | 2020-11-29T07:24:55 | 2020-11-29T07:24:55 | 316,643,335 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,231 | r | MLalgorithms.R | set.seed(2)
#train-test split
test_index <- createDataPartition(data$Diagnosis, times = 1, p = 0.30, list = FALSE)
train_set <- data %>% slice(-test_index)
test_set <- data %>% slice(test_index)
#five-fold cross-validation resampling
cv <- trainControl(method = "cv", number = 5, classProbs = TRUE,
sa... |
e1b953fec0ec90118fa45ce5b4aa669058b52d57 | 27c6fd520f63e430400077f3cf5ccd355e3901a9 | /man/getMEtraitCor.Rd | d6290284075752a1cb062b4505b9a4ae395830c3 | [
"MIT"
] | permissive | cemordaunt/comethyl | cc6e1eb3328711a688553298fcf3e40b6d64b8d8 | 9e6616732093743a64e508e1bd2cf753472bc4d5 | refs/heads/master | 2023-05-01T19:21:16.619414 | 2023-04-16T22:55:52 | 2023-04-16T22:55:52 | 232,185,438 | 5 | 2 | null | null | null | null | UTF-8 | R | false | true | 4,642 | rd | getMEtraitCor.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Explore_Module_Trait_Correlations.R
\name{getMEtraitCor}
\alias{getMEtraitCor}
\title{Calculate Correlation Statistics Between Module Eigennodes and Traits}
\usage{
getMEtraitCor(
MEs,
colData,
corType = c("bicor", "pearson"),
maxPOut... |
b38d6503375b6fb3adc1a7e6d13bbdc86c5896e9 | b7caf2924e72efe763f7154ed0bb3cd2a455fab6 | /examples/signal_propagator.R | 0f890f31d5c505c9a836bcc5ca376d1d1b8c36fc | [] | no_license | braguti/rbdd | 96a47677333647a3ffec8781fe80e238abba57ad | c69b2df90f5e5b9a5eb9a4e96d9dabae79d098b3 | refs/heads/master | 2023-09-01T12:00:34.317924 | 2023-08-25T08:33:49 | 2023-08-25T08:33:49 | 266,183,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 577 | r | signal_propagator.R | # Load the library
library(rbdd)
# Create the BDDfactory
init_bdd()
# Create variables in the factory
new_variable("a")
new_variable("b")
new_variable("c")
z = new_variable_from_expression("(a or b) and c")
restrict_bdd(z, "b", "restrict1")
restrict_bdd(z, "b", "restrict2", FALSE)
# Create the expression
fixed_b =... |
5fc7e34f492fb8b85b687fd9495a913204678045 | e1819a5846d83459ac8ac1cde6b5d6e01cec87ec | /Analysis/functions/rescale_rowsums.R | cdb9a282ea1fcbf23e78f81a4b18d4fe1ff4b90b | [] | no_license | jimmyodonnell/Carkeek_eDNA_grid | eac0af41da3115254f1e20e592dc57d23204138f | bbfa90f5d15d8d275aa5e78da89f4347f140d98b | refs/heads/master | 2020-04-07T06:39:35.531529 | 2017-03-02T01:39:44 | 2017-03-02T01:39:44 | 43,516,172 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 873 | r | rescale_rowsums.R | rescale_rowsums <- function(mat)
{
# calculate the minimum number of reads assigned to these OTUs in these samples
minreads <- min(rowSums(mat))
print(paste("minimum total counts per sample is", minreads))
# scale the proportional abundance of the OTU in each sample to the minimum number of reads
scaled <- prop(m... |
d8363aec9ba24da9db89bbf6dca0f7c14aff9452 | 83b4fa912b1f004c2c00b648d0c06736b8c4acfa | /R/coasts_txt2csv.R | af28c57b73f9b1661ede0ae3114f7d36131811a9 | [] | no_license | jeanetteclark/wave_exposure | 2502d4ceb51a54ec4fd4c518cdf178d64f6feb14 | 0f6d1a192624344783b726acb8d490cca2412b1f | refs/heads/master | 2022-06-27T23:47:58.426399 | 2022-06-09T19:22:40 | 2022-06-09T19:22:40 | 149,356,003 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 446 | r | coasts_txt2csv.R | #convert original coasts csv files to a single file
files = list.files("~/Desktop/R_WaveExposure/coasts/", full.names = T)
files_base = gsub(".txt", "", list.files("~/Desktop/R_WaveExposure/coasts/"))
coasts <- data.frame()
for (i in 1:length(files)){
df <- read.table(files[i], sep = ",", header = T)
df$isl <- fi... |
f8dccf450b5ff0e8ef089c87597a154d893ceec2 | 1902562f8a1e41b7468259b37ca58527cca5c565 | /R/overlapPlot.R | 1b2e9b411a27149c015463f699c8ea2e1e2fa9ff | [] | no_license | mikemeredith/overlap | d34de958719e57e67b1a4c06dced4fa4e4a2c37b | c373a24d789b0f33dfaf5c2fe24357845e6005e4 | refs/heads/main | 2022-12-06T12:39:51.092661 | 2022-11-22T12:27:20 | 2022-11-22T12:27:20 | 9,129,252 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,584 | r | overlapPlot.R | # does a nice plot of two density curves with overlap shaded
overlapPlot <-
function(A, B, xscale=24, xcenter=c("noon", "midnight"),
linetype=c(1, 2), linecol=c('black', 'blue'),
linewidth=c(1,1), olapcol='lightgrey', rug=FALSE, extend=NULL,
n.grid=128, kmax = 3, adjust = 1, ...) {
# xlab="Time", ylab... |
b4fcfbb27db764f335db82a7dcdb90ed49cdb871 | c11563d33dfdcb3f1b5fe025777fcd3a8e024b91 | /R/pullTF.R | d04b97a6439cbf5c916a6da2ce8e5f7762ffc01d | [] | no_license | vjcitn/oc2bioc | 99d7fbb18af02bf6580f7b67993407bcf6ebd5bf | 1c04f3d0ffa583f80d31cc15e4ad3f38e98b97dd | refs/heads/master | 2023-06-27T05:17:57.676124 | 2021-08-04T19:38:48 | 2021-08-04T19:38:48 | 291,861,896 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 932 | r | pullTF.R | #' utility for working with multi-experiment results from ENCODE TFBS in opencravat
#' @param x a properly filtered data.frame with the relevant columns
#' @param tf character(1) symbol for TF as recorded by ENCODE
#' @note The issue is that many TF experiments are recorded in a single excel spreadsheet cell.
#' A col... |
3585e6cf573659f2dd93578af8b7c8256c2d0d7f | 59789032925a5f7781faf5c30f1a6923f71c2a61 | /run_analysis.R | 0420489b5108895205abbca8ac95c916adbddfd6 | [] | no_license | ignazw/GettingData | 24df2e816bf4c0db241bd5558a5a97bdc4bca901 | 7bef4a1cf071b2cead9ead0697decfce708f7c72 | refs/heads/master | 2021-01-10T10:17:51.898469 | 2015-11-21T10:56:50 | 2015-11-21T10:56:50 | 46,366,592 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,011 | r | run_analysis.R | ## analysis.R; assignment for Getting and Cleaning Data
##
## Raw data:
## Activities: y_test.txt (category values: 1:6)
## Individuals: subject_test.txt (values 1:30)
## Measurements: X_test.txt
## Features: features.txt
## Activities: activity_labels.txt
##
## Two sets, test an... |
0798aadf7e363e6009d14cf8fce58543dfea4ebc | e0ab70acef62ef3cc0d4cf17c01daef96a7ddc50 | /Analyses.R | 52024ecccf21c3c0c1b700b4d04c794e23d595e9 | [] | no_license | SCgeeker/WM_Semantic | ea7ddc005b890bc086d474fb34f9a956ba6b3ef5 | d413e67e90d3bd8bf55e6538de90e526564a7a9c | refs/heads/master | 2021-01-22T02:28:41.304093 | 2017-09-03T07:32:44 | 2017-09-03T07:32:44 | 102,247,110 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 32,679 | r | Analyses.R | library(afex)
library(data.table)
library(plyr)
library(BayesFactor)
####################################
#Orginal study (Heyman et al., 2015)
####################################
#Read in the data
## setwd("C:/Users/u0072526/Dropbox/Artikels/In preparation/Priming load replication/data original")
## If you run this... |
4a344135d9fa66f58134fb0318ea8f37ebd7432e | b268fb53fab1e52abd4d2570edc9fc9fc73c27dd | /R/sim_model.R | 4bb54a53d0f1f7959927a2950f6653bae330d73f | [
"MIT"
] | permissive | markhwhiteii/twipc | f6646d89192b2d5207191ced149a20b75b1e9593 | 2dcbba61003d737e219d230b8c29a7123a8d70bb | refs/heads/master | 2020-07-22T20:53:53.809041 | 2019-09-12T19:25:40 | 2019-09-12T19:25:40 | 207,324,649 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 763 | r | sim_model.R | #' Simulate a Model and Extract if p < alpha
#'
#' @param n Sample size
#' @param a1b1 Mean in cell A1, B1
#' @param a1b2 Mean in cell A1, B2
#' @param a2b1 Mean in cell A2, B1
#' @param a2b2 Mean in cell A2, B2
#' @param alpha Alpha level
#' @return Logical indicating TRUE for less than alpha, FALSE otherwise
sim_mod... |
97f7744438e963b08937300fcbda163ce46b108f | d3d685639cac59c9a41649af2735b2cf57cad7c9 | /R/feature_ela_local_search.R | 01486ccc6c119b2c9034d8425dd29a26ce0c6709 | [] | no_license | belkhir-nacim/flacco | cbcb042f507aeed5509caf59e6a2f8e45cf866a8 | 77ce443ed007c5c334b717caeb8bc8a0c65c8264 | refs/heads/master | 2021-01-24T00:15:47.805980 | 2018-05-20T00:22:55 | 2018-05-20T00:22:55 | 43,465,197 | 0 | 0 | null | 2015-09-30T23:16:59 | 2015-09-30T23:16:58 | null | UTF-8 | R | false | false | 3,223 | r | feature_ela_local_search.R | calculateLocalSearchFeatures = function(feat.object, control, ...) {
assertClass(feat.object, "FeatureObject")
f = initializeCounter(feat.object$fun)
if (is.null(f))
stop("The local search features require the exact function!")
measureTime(expression({
X = extractFeatures(feat.object)
y = extractObj... |
1eb2b6103e1928b84259b22fd42a66e680efac56 | f354f083dbefa778e494a5a3a458fd8a1e5bfd82 | /src/analysis/find_marker_genes.R | 9fa28df5aeff73bc50807cff11acc8e20ff99386 | [
"MIT"
] | permissive | NCBI-Codeathons/Identifying-bulk-RNA-seq-derived-biomarkers-of-cancer-risk-within-single-cell-populations | 6c1ba68f58f0142bb65041c08aa22ecbb213357f | fda26f5cfe41f3e64bff4602dc010d6f6be183f8 | refs/heads/master | 2020-12-02T09:49:30.307385 | 2020-01-17T21:52:13 | 2020-01-17T21:52:13 | 230,971,042 | 6 | 2 | null | null | null | null | UTF-8 | R | false | false | 566 | r | find_marker_genes.R | #find marker genes for integrated data
library(dplyr)
library(Seurat)
library(Matrix)
library(data.table)
setwd("/NYGC_hack2020/NYGC_biomarkers")
#load data
tumors.integrated <- readRDS(file = "output/tumors_integrated.rds")
#Find marker genes for each cluster and export as csv
tumors.integrated.markers <- FindAllMa... |
fd9d0164a3c113991b217d0504aab031833face7 | 4c63d31a4bd06b085ba805b31cb3484c72f9ef13 | /man/tab_stack_values.Rd | 69e6a1f51bbd907e1233ae4ef7f96dbda2d2cb64 | [] | no_license | squiebble/EpiFunc | fd7b5693fda0531dc86280b4f0f5f8d280741ff0 | 04a31e98643f921bc7fc208a6989be825a2896e3 | refs/heads/master | 2022-02-06T06:03:57.006183 | 2019-07-23T09:45:39 | 2019-07-23T09:45:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,090 | rd | tab_stack_values.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tab_stack_values.R
\name{tab_stack_values}
\alias{tab_stack_values}
\title{Tabulate values for multiple variables and stack ontop of one another}
\usage{
tab_stack_values(data, cols = NULL, fill.value = ".")
}
\arguments{
\item{data}{a data.f... |
35cc17f95970be0715bdd92d2affd09648fd148d | 21f76ca3ee44d503c99eb23e9297955b1da89886 | /02_processing_data/subset_variables/subset_variables.r | 6ba0e4a06c1c6dfa98ec5c6e713823ba5d60dfff | [] | no_license | Tuls85/machine-learning-toolbox | 6ad064436a222d4e73c4fb121e5155e54659f795 | 54e36ebbf4ae0035992b083f81ea8fce21074e28 | refs/heads/main | 2023-07-13T08:32:34.476672 | 2021-08-19T19:25:49 | 2021-08-19T19:25:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 589 | r | subset_variables.r | # - subset variables ----
library(datasets) # datasets library for sample data...
data(iris) # import into the r enviroment...
data = iris # store the iris dataframe as 'data' in the r enviroment...
remove = c("Petal.Width")
data = data[, !colnames(data) %in% c(remove)] # conditionally select the variables to rem... |
b30f02e3426d02d8433f771470bb0c00c94deba6 | 39bbe7901efe2b830eb1d4aa867ade4cd764364b | /testData/parser/r/BlockAsArgument.r | e57fa029be05df9b7e775a855143eb8e07c7d715 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | JetBrains/Rplugin | 86de0c5e38c191cf26b29ba0dc7b32a2f92ff0f5 | ab5b0c146e11d441386dd0344f0761d5e69d1d5e | refs/heads/master | 2023-09-03T23:33:54.945503 | 2023-09-01T14:23:29 | 2023-09-01T16:49:57 | 214,212,060 | 68 | 18 | Apache-2.0 | 2023-04-07T08:36:18 | 2019-10-10T14:59:42 | Kotlin | UTF-8 | R | false | false | 87 | r | BlockAsArgument.r | system.time({
B = data.frame(x1=runif(100000), x2=runif(100000), x3=runif(100000))
}) |
f431048d909b98bce455fb45b43d836090d79519 | d7ccf7e70ad18a68b788e9bfe485bfd9c332b1ef | /test/huge/Books/2_GFX2SV/33_I4G9WZ.rd | 4cc039007143ba15774bf2dcc58ff6d0210c34d0 | [
"MIT"
] | permissive | lsp-implementaions/rel | d47ae4f618ee730bea659bab0349cef50f04ed6f | d9e6815012334dfc4c99b8020ae42a9ca9860458 | refs/heads/main | 2023-04-03T10:46:15.484422 | 2021-04-16T18:18:57 | 2021-04-16T18:18:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,365,751 | rd | 33_I4G9WZ.rd | SystemRequirement {
Identifier : uid116770,
Text : "H30MC4X9486DQ6Q24JWSLG3KMQ5Y0FAZPTSJ7ERH8PC2ZZV8FIQ7LI3UL329TP01FYZ58K5H5SB0P76EG3DHRLL51Y3G16LHCLL2TTTUXUIFVABRTP0BV0UPUM4V839CLFCT74G7YPHD7LEIYBTG26M24X9QE8MJX893WAK83RI8MODA3HAF6GQI07DS8YAMN53OHXFJSQ18KG1ZOPYHQBYN6CH3ZAVDQXOMVWWN9Y8QCO1L88VES47CP48Z1Y8LI9W0Z076... |
4a003194cfcc5b2dbde3a1df2a6931caae7bd248 | 152dfb2f549a98958e323bfea49ad9d2708fdf88 | /R/request_response.R | 7bc8c7f346e6898851a594bc443a64bac17adebf | [
"MIT"
] | permissive | ropensci/vcr | 7b21495abcb7b52fcde41d759875dec68f3f1abd | e0be1365b656d2ab218993ce857df3e79e5f5cfc | refs/heads/main | 2023-07-09T02:07:42.937322 | 2023-06-24T06:15:38 | 2023-07-01T22:08:02 | 27,778,540 | 78 | 18 | NOASSERTION | 2023-07-01T22:08:04 | 2014-12-09T17:38:38 | R | UTF-8 | R | false | false | 3,170 | r | request_response.R | #' request and response summary methods
#'
#' @export
#' @name request_response
#' @keywords internal
#' @param request a [Request] object
#' @param request_matchers (character) a vector of matchers.
#' Default: `""`
#' @param response a [VcrResponse] object
#' @return character string, of either request or response
#'... |
57d9d79e98ad5f0ee23741b029a7bad77e439a61 | 01a65c0a094a1ef74c2cb673f7308aec5d455d59 | /code/build_training_set_DIVAN_feats.R | 45439699e24a8246baa95a1c02d7f7a5c0f4492f | [] | no_license | YantingHuang/Deep-Learning-based-Whole-genome-AD-DM-Locus-Detector | be455ff130e5183d8aad173defed3ff0faa0a835 | 2f4ebccd7317bf22f9ce7e1e3c72cc7dbbabed3e | refs/heads/master | 2020-08-02T23:31:12.138383 | 2019-10-18T18:29:22 | 2019-10-18T18:29:22 | 211,545,683 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,382 | r | build_training_set_DIVAN_feats.R | library(data.table)
trait.names = c("amyloid", "braak", "cerad", "gpath", "tangles")
rda.data.dir <- "/home/ec2-user/volume/git/EnsembleCpG/data/features"
incomplete.train.data.dir <- "/home/ec2-user/yanting/AD_Deeplearning_regression/training_data"
rda.fns <- list.files(rda.data.dir, pattern="\\.rda$")
print(rda.fns)... |
6db4dbd0d4cec0a096d314084e938eb56ad5d6c5 | b313ba13c1156ccb088c4de6327a794117adc4cc | /December2019/densitree_IBSD_wPuliObtSNPs_D8DBunknoAC.R | d11ca9bc513451817e8f8c5a602bfba4b480b46b | [] | no_license | kbkubow/DaphniaPulex20162017Sequencing | 50c921f3c3e8f077d49ccb3417daa76fb4dde698 | c662b0900cc87a64ec43e765246c750be0830f77 | refs/heads/master | 2021-08-20T10:09:59.483110 | 2021-06-10T20:04:31 | 2021-06-10T20:04:31 | 182,109,481 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 49,509 | r | densitree_IBSD_wPuliObtSNPs_D8DBunknoAC.R | #!/usr/bin/env Rscript
### libraries
library(SeqArray)
library(data.table)
library(foreach)
library(phangorn)
library(doMC)
registerDoMC(20)
library(ggplot2)
library(SNPRelate)
library(ggbeeswarm)
#library(tidyverse)
### open genotype file
genofile <- seqOpen("/scratch/kbb7sh/Daphnia/MappingDecem... |
2c0fd845182e772361111e6349ee3be963274bda | 4c9a7429dbfe7fe9d01c562ad8bfdad85b760073 | /2019-06-xx-Associations/R 2019-06-xx-Associations/r2s.R | 617b24660c0f9423199f9ead26a2d32b81048354 | [] | no_license | JonasMoss/presentations | ab41700be47c8114d6994568ae99be3e11039d06 | eb4fb2af23458d28aba4439274aef9005ebfe3be | refs/heads/master | 2021-04-26T22:16:15.619787 | 2019-05-01T08:26:34 | 2019-05-01T08:26:34 | 124,054,434 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,435 | r | r2s.R | r2 = function(alpha, beta, x, gamma, sigma) {
1 - sigma^2/(sigma^2 + )
}
election$county_id = as.factor(election$county_id)
election$year = as.factor(election$year)
attr(election$county_id, "contrasts") = contrasts(election$county_id, contrasts = FALSE)
attr(election$year, "contrasts") = contrasts(election$year, con... |
5e4567d2d179e64fffb50efe8a363f534e7d836a | de93acb5426b3d637c7f1a10d902b837fbcd6988 | /man/app_server.Rd | 7c0cb2edb17b618e539caa28fc6fcd70e1ea161b | [
"MIT"
] | permissive | Sage-Bionetworks/dccvalidator | 40c32495bdf3b06f6601b0cc63e12e6872bca0d3 | dcdddd8c6e3c3cfc56388352501de0d947fa60b5 | refs/heads/master | 2023-04-09T04:26:45.088613 | 2022-05-05T20:59:53 | 2022-05-05T20:59:53 | 130,909,540 | 10 | 16 | NOASSERTION | 2022-12-08T07:01:16 | 2018-04-24T20:23:02 | R | UTF-8 | R | false | true | 455 | rd | app_server.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/app-server.R
\name{app_server}
\alias{app_server}
\title{App server}
\usage{
app_server(input, output, session)
}
\arguments{
\item{input}{Shiny input}
\item{output}{Shiny output}
\item{session}{Shiny session}
}
\value{
none
}
\description{... |
9945da461e23d8aacdf9c9ce71dffaefee051ead | a00ae6e32bec6f96ec37cc6aee8374df6565871b | /man/sep.tree-class.Rd | 067dc783fd48b317ed56c05f3d879cd087dc8477 | [] | no_license | cran/lcd | 6372f23d4d3f3e2dd6656a632f2cdd7c9d6e9483 | a6c9acc4e576cf76bc809c4953dbb818cf3c8ad4 | refs/heads/master | 2020-04-22T19:55:52.285942 | 2012-11-09T00:00:00 | 2012-11-09T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,445 | rd | sep.tree-class.Rd | \name{sep.tree-class}
\docType{class}
\alias{sep.tree-class}
\title{Class "sep.tree" }
\description{
Objects representing separation tree as described in Xie, Geng and Zhao
(2006) and Ma, Xie and
Geng (2008), which includes junction tree of cliques as a special case.
}
\section{Objects from the Class}{... |
d9e0041740736f80cb3ece1a3c45a3eafca8b7b8 | ea81fcc39e09cc811bb9669cd2cb4faa10f00c5d | /man/v_curve.Rd | 3e0df9850ec983e129363162989e85a3696ce0bf | [
"MIT"
] | permissive | hgbzzw/phenofit | 11b3e622845c134a21307a89a108183613ab6d1b | 10458d3b1addc11dbadf5b640e334f3515a302c5 | refs/heads/master | 2020-03-28T01:58:12.420447 | 2018-07-25T06:21:57 | 2018-07-25T06:21:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 799 | rd | v_curve.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/smooth_whit_lambda.R
\name{v_curve}
\alias{v_curve}
\title{v_curve}
\usage{
v_curve(INPUT, nptperyear, lambdas, d = 2, IsPlot = F, wFUN = wTSM,
iters = 2)
}
\arguments{
\item{nptperyear}{number of images per year}
\item{lambdas}{whittaker ... |
03e28dab971440f8a288b8b8b75657881fa1a171 | d363fd8c4eb7bb49d7dc496dbe1e074ea2ea1be9 | /KEGG/keggAPIv1.R | fb99524b0ea729df9b5fe50f32d45f0476ae3fce | [] | no_license | ZhuHaizhen/Collected-gadgets | 83aeadd0760ce38f1601705d3133c9322da7c446 | a143755092a47fb22d60ae1dea491630e8179fa7 | refs/heads/master | 2021-07-04T03:25:03.626734 | 2021-01-24T06:52:54 | 2021-01-24T06:52:54 | 218,950,123 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,398 | r | keggAPIv1.R | library(KEGGREST)
orthologies <- keggList('orthology')
res <- data.frame('ko' = 0, 'name' = 0, 'description' = 0, 'pathway_id' = 0, 'pathway' = 0, 'class' = 0)
res <- res[-1, ]
for(i in 1:length(strsplit(orthologies, '\n'))){
orth <- strsplit(orthologies, '\n')[i]
ko_entry <- names(orth)
ko_id <- strsplit(ko_e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.