By accepting optional cookies, you consent to the processing of your personal data - including transfers to third parties. Some third parties are outside of the European Economic Area, with varying standards of data protection. See our privacy policy for more information on the use of your perso...
cormatrix2<-cormatrix*(abs(cormatrix)>=0.80)#only keep links above the cutoff pointcormatrix2[is.na(cormatrix2)]<-0diag(cormatrix2)<-0#no links for self-selfsum(abs(cormatrix2)>0)/2#this should be the number of ...
You can see that when you use tibbles from tidyverse: they use some very limited formatting (like showing “NA” in red). I ended up writing a new package, colorDF. The package defines a new class of data frames, but it really does not change their behavior – just the way they are...
243 changes: 243 additions & 0 deletions 243 03_generate_stats.R Original file line numberDiff line numberDiff line change @@ -0,0 +1,243 @@ library(tidyverse) library(sf) ### Load data --- current_dams <- readRDS("outputs/rds/current_dams_scenarios.rds") %>% st_drop_geometry...
a)weathercanincludes functions for interpolating weather data and directly integrating it into other data sources. b)weathercanactively seeks to apply tidy data principles in R and integrates well with the tidyverse including using tibbles and nested listcols. c)rclimatecacontains arguments for specify...
library(tidyverse) library(powerlmm) # dev version library(ggrepel) I will usepowerlmmto simulate some longitudinal treatment data. In this setup, the control group has a ~40% reduction in symptoms at posttest, which in this case would give a Cohen’sdof 0.5. And the actual treatment effec...
Nine in ten major outages in the US have been caused by hurricanes. Long-term outage risk is a function of climate change-triggered shifts in hurricane frequency and intensity; yet projections of both remain highly uncertain. However, outage risk models
Werneck MDS, Franceschinelli EV (2004) Dynamics of a dry forest fragment after the exclusion of human disturbance in southeastern Brazil.Pl Ecol174:337–346 Google Scholar Wickham H, Chang W (2016) Package ‘ggplot2’. Available athttps://ggplot2.tidyverse.org/index.html ...
* Change the R package name to lancer. # DCVtestkit 0.0.4 # lancer 0.0.4 * Fix issue that `r_corr` from `calculate_gof_linear` gives a named numeric vector. * Change code to suit the changes highlighted in [tidyselect 1.2.0](https://www.tidyverse.org/blog/2022/10/tidyselect-1-2...
data frame of ligand-receptor interactions, after filtering out interactions predicted by PPI; geneset_oi: a vector containing the set of genes used as input for the ligand activity analysis; background_expressed_genes: the background of genes to which the geneset will be compared in the ligan...