This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```{r phyloseq-ampvis2} | |
library("ampvis2") | |
# Load data into ampvis | |
otu.table <- t(otu_table(ps1, taxa_are_rows = FALSE)) | |
otu.table <- as.data.frame(otu.table) | |
otu.table <- rownames_to_column(otu.table, var = "OTU") | |
head(rownames(otu.table)) | |
head(colnames(otu.table)) | |
nrow(otu.table) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## For CentOS | |
sudo yum install libcurl-devel | |
## For R | |
# Make R package path permissions usable | |
# Identify the path using ... | |
installed.packages()[, "LibPath"] | |
... and then update according to your server user permissions |