diff --git a/404.html b/404.html index d1d7eb8e7..3ac756d55 100644 --- a/404.html +++ b/404.html @@ -32,7 +32,7 @@ mia - 1.15.1 + 1.15.0 diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html index 0d70e8b5a..9fc41f9e4 100644 --- a/CONTRIBUTING.html +++ b/CONTRIBUTING.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0 diff --git a/LICENSE-text.html b/LICENSE-text.html index 348228473..1b84af13e 100644 --- a/LICENSE-text.html +++ b/LICENSE-text.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0 diff --git a/articles/index.html b/articles/index.html index 226c32d4f..0ef44445d 100644 --- a/articles/index.html +++ b/articles/index.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0 diff --git a/articles/mia.html b/articles/mia.html index 8e2f9c1a1..f192a2968 100644 --- a/articles/mia.html +++ b/articles/mia.html @@ -32,7 +32,7 @@ mia - 1.15.1 + 1.15.0 @@ -69,7 +69,7 @@

mia: Microbiome analysis tools

2024-11-01

- Source: vignettes/mia.Rmd + Source: vignettes/mia.Rmd @@ -600,7 +600,7 @@

Session info## other attached packages: ## [1] phyloseq_1.50.0 scater_1.34.0 ## [3] ggplot2_3.5.1 scuttle_1.16.0 -## [5] mia_1.15.1 TreeSummarizedExperiment_2.14.0 +## [5] mia_1.15.0 TreeSummarizedExperiment_2.14.0 ## [7] Biostrings_2.74.0 XVector_0.46.0 ## [9] SingleCellExperiment_1.28.0 MultiAssayExperiment_1.32.0 ## [11] SummarizedExperiment_1.36.0 Biobase_2.66.0 diff --git a/authors.html b/authors.html index 758c8fe9d..1bdc3b79c 100644 --- a/authors.html +++ b/authors.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0 @@ -168,20 +168,20 @@

Authors and Citation

Citation

- Source: DESCRIPTION + Source: DESCRIPTION

Borman T, Ernst F, Shetty S, Lahti L (2024). mia: Microbiome analysis. -R package version 1.15.1, https://github.com/microbiome/mia. +R package version 1.15.0, https://github.com/microbiome/mia.

@Manual{,
   title = {mia: Microbiome analysis},
   author = {Tuomas Borman and Felix G.M. Ernst and Sudarshan A. Shetty and Leo Lahti},
   year = {2024},
-  note = {R package version 1.15.1},
+  note = {R package version 1.15.0},
   url = {https://github.com/microbiome/mia},
 }
diff --git a/index.html b/index.html index 92d6e8b82..8a9707f99 100644 --- a/index.html +++ b/index.html @@ -33,7 +33,7 @@ mia - 1.15.1 + 1.15.0 diff --git a/pkgdown.yml b/pkgdown.yml index 2ad679e05..710c21aca 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -3,4 +3,4 @@ pkgdown: 2.1.1 pkgdown_sha: ~ articles: mia: mia.html -last_built: 2024-11-01T08:02Z +last_built: 2024-11-01T08:05Z diff --git a/reference/GlobalPatterns.html b/reference/GlobalPatterns.html index 7825f6821..aac230dfb 100644 --- a/reference/GlobalPatterns.html +++ b/reference/GlobalPatterns.html @@ -24,7 +24,7 @@ mia - 1.15.1 + 1.15.0 @@ -51,7 +51,7 @@
diff --git a/reference/HintikkaXOData.html b/reference/HintikkaXOData.html index cfbdc11ce..68bd89a17 100644 --- a/reference/HintikkaXOData.html +++ b/reference/HintikkaXOData.html @@ -23,7 +23,7 @@ mia - 1.15.1 + 1.15.0
@@ -50,7 +50,7 @@
diff --git a/reference/Tengeler2020.html b/reference/Tengeler2020.html index 662a0c0b3..252c271f5 100644 --- a/reference/Tengeler2020.html +++ b/reference/Tengeler2020.html @@ -22,7 +22,7 @@ mia - 1.15.1 + 1.15.0
@@ -49,7 +49,7 @@
diff --git a/reference/Tito2024QMP.html b/reference/Tito2024QMP.html index 0e0918ce8..f73f2eda8 100644 --- a/reference/Tito2024QMP.html +++ b/reference/Tito2024QMP.html @@ -23,7 +23,7 @@ mia - 1.15.1 + 1.15.0
@@ -50,7 +50,7 @@
diff --git a/reference/addAlpha.html b/reference/addAlpha.html index 259f0983d..73b89ef26 100644 --- a/reference/addAlpha.html +++ b/reference/addAlpha.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@
diff --git a/reference/addCluster.html b/reference/addCluster.html index bdc331d59..257e480f3 100644 --- a/reference/addCluster.html +++ b/reference/addCluster.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@
diff --git a/reference/addDivergence.html b/reference/addDivergence.html index f6bf78c02..7f694bb87 100644 --- a/reference/addDivergence.html +++ b/reference/addDivergence.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0
@@ -44,7 +44,7 @@
diff --git a/reference/addLDA-1.png b/reference/addLDA-1.png index 8bdac2d1d..3333248d3 100644 Binary files a/reference/addLDA-1.png and b/reference/addLDA-1.png differ diff --git a/reference/addLDA.html b/reference/addLDA.html index 2fad77102..94ffc850e 100644 --- a/reference/addLDA.html +++ b/reference/addLDA.html @@ -19,7 +19,7 @@ mia - 1.15.1 + 1.15.0
@@ -46,7 +46,7 @@
@@ -137,12 +137,12 @@

Examples

loadings <- attr(reducedDim(tse, "LDA"), "loadings") head(loadings) #> 1 2 -#> AD3 1.369512e-03 9.742609e-09 -#> Acidobacteria 5.081155e-02 1.385018e-05 -#> Actinobacteria 1.579366e-01 2.979068e-02 -#> Armatimonadetes 7.270688e-04 8.258732e-06 -#> BRC1 9.901659e-05 8.197219e-08 -#> Bacteroidetes 9.535597e-02 2.900467e-01 +#> AD3 9.898628e-04 3.430832e-07 +#> Acidobacteria 3.672249e-02 3.716299e-05 +#> Actinobacteria 1.097381e-01 4.938502e-02 +#> Armatimonadetes 5.330437e-04 3.438614e-07 +#> BRC1 7.155652e-05 1.581298e-07 +#> Bacteroidetes 9.504594e-02 3.737847e-01 # Estimate models with number of topics from 2 to 10 tse <- addLDA(tse, k = c(2, 3, 4, 5, 6, 7, 8, 9, 10), name = "LDA_10") diff --git a/reference/addNMF.html b/reference/addNMF.html index debac141d..31655903d 100644 --- a/reference/addNMF.html +++ b/reference/addNMF.html @@ -19,7 +19,7 @@ mia - 1.15.1 + 1.15.0
@@ -46,7 +46,7 @@
diff --git a/reference/agglomerate-methods.html b/reference/agglomerate-methods.html index fc034b917..a6a14bf2e 100644 --- a/reference/agglomerate-methods.html +++ b/reference/agglomerate-methods.html @@ -24,7 +24,7 @@ mia - 1.15.1 + 1.15.0
@@ -51,7 +51,7 @@
diff --git a/reference/agglomerateByPrevalence.html b/reference/agglomerateByPrevalence.html index 91d3916a5..0b4e88f85 100644 --- a/reference/agglomerateByPrevalence.html +++ b/reference/agglomerateByPrevalence.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0
@@ -44,7 +44,7 @@
diff --git a/reference/calculateDMN.html b/reference/calculateDMN.html index e9612476b..752051b72 100644 --- a/reference/calculateDMN.html +++ b/reference/calculateDMN.html @@ -19,7 +19,7 @@ mia - 1.15.1 + 1.15.0
@@ -46,7 +46,7 @@
diff --git a/reference/convertFromDADA2.html b/reference/convertFromDADA2.html index 9eb4a2747..419b97ec9 100644 --- a/reference/convertFromDADA2.html +++ b/reference/convertFromDADA2.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0
@@ -44,7 +44,7 @@
diff --git a/reference/convertFromPhyloseq.html b/reference/convertFromPhyloseq.html index 0c160c582..fff540549 100644 --- a/reference/convertFromPhyloseq.html +++ b/reference/convertFromPhyloseq.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@
diff --git a/reference/deprecate.html b/reference/deprecate.html index 8bc3ee37f..ce2cfc029 100644 --- a/reference/deprecate.html +++ b/reference/deprecate.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0
@@ -44,7 +44,7 @@
diff --git a/reference/dmn_se.html b/reference/dmn_se.html index e301c5e03..4500cd793 100644 --- a/reference/dmn_se.html +++ b/reference/dmn_se.html @@ -19,7 +19,7 @@ mia - 1.15.1 + 1.15.0
@@ -46,7 +46,7 @@
diff --git a/reference/enterotype.html b/reference/enterotype.html index b47d229f2..a3f3e975e 100644 --- a/reference/enterotype.html +++ b/reference/enterotype.html @@ -24,7 +24,7 @@ mia - 1.15.1 + 1.15.0
@@ -51,7 +51,7 @@
diff --git a/reference/esophagus.html b/reference/esophagus.html index bb8bb6184..7829ee122 100644 --- a/reference/esophagus.html +++ b/reference/esophagus.html @@ -20,7 +20,7 @@ mia - 1.15.1 + 1.15.0
@@ -47,7 +47,7 @@
diff --git a/reference/getCrossAssociation.html b/reference/getCrossAssociation.html index ad4c30b3c..522691a58 100644 --- a/reference/getCrossAssociation.html +++ b/reference/getCrossAssociation.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0
@@ -44,7 +44,7 @@
diff --git a/reference/getDissimilarity.html b/reference/getDissimilarity.html index 0c3c67fe0..bdccfdd5d 100644 --- a/reference/getDissimilarity.html +++ b/reference/getDissimilarity.html @@ -23,7 +23,7 @@ mia - 1.15.1 + 1.15.0
@@ -50,7 +50,7 @@
diff --git a/reference/getDominant.html b/reference/getDominant.html index ec109284e..c0c677d54 100644 --- a/reference/getDominant.html +++ b/reference/getDominant.html @@ -19,7 +19,7 @@ mia - 1.15.1 + 1.15.0
@@ -46,7 +46,7 @@
diff --git a/reference/getMediation.html b/reference/getMediation.html index 870f23f6b..292dde948 100644 --- a/reference/getMediation.html +++ b/reference/getMediation.html @@ -19,7 +19,7 @@ mia - 1.15.1 + 1.15.0
@@ -46,7 +46,7 @@
diff --git a/reference/getPrevalence.html b/reference/getPrevalence.html index 0d2f2c935..05168f630 100644 --- a/reference/getPrevalence.html +++ b/reference/getPrevalence.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@
diff --git a/reference/hierarchy-tree.html b/reference/hierarchy-tree.html index 76e2b3691..069b2d87d 100644 --- a/reference/hierarchy-tree.html +++ b/reference/hierarchy-tree.html @@ -19,7 +19,7 @@ mia - 1.15.1 + 1.15.0
@@ -46,7 +46,7 @@
diff --git a/reference/importBIOM.html b/reference/importBIOM.html index c4b543c2a..11cc8794b 100644 --- a/reference/importBIOM.html +++ b/reference/importBIOM.html @@ -22,7 +22,7 @@ mia - 1.15.1 + 1.15.0
@@ -49,7 +49,7 @@
diff --git a/reference/importHUMAnN.html b/reference/importHUMAnN.html index 41f6ceeff..88d73c2aa 100644 --- a/reference/importHUMAnN.html +++ b/reference/importHUMAnN.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0
@@ -44,7 +44,7 @@
diff --git a/reference/importMetaPhlAn.html b/reference/importMetaPhlAn.html index cb8378553..f90dd403e 100644 --- a/reference/importMetaPhlAn.html +++ b/reference/importMetaPhlAn.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0
@@ -44,7 +44,7 @@
diff --git a/reference/importMothur.html b/reference/importMothur.html index 34a084074..94fd04213 100644 --- a/reference/importMothur.html +++ b/reference/importMothur.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@
diff --git a/reference/importQIIME2.html b/reference/importQIIME2.html index 6e996c147..6ebfa9061 100644 --- a/reference/importQIIME2.html +++ b/reference/importQIIME2.html @@ -22,7 +22,7 @@ mia - 1.15.1 + 1.15.0
@@ -49,7 +49,7 @@
diff --git a/reference/importTaxpasta.html b/reference/importTaxpasta.html index a19caa9a7..fca1122bd 100644 --- a/reference/importTaxpasta.html +++ b/reference/importTaxpasta.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@
diff --git a/reference/index.html b/reference/index.html index 9b3cdafc7..e1e23d0d3 100644 --- a/reference/index.html +++ b/reference/index.html @@ -17,7 +17,7 @@ mia - 1.15.1 + 1.15.0
diff --git a/reference/isContaminant.html b/reference/isContaminant.html index 7dc8e3b8e..907bd2b26 100644 --- a/reference/isContaminant.html +++ b/reference/isContaminant.html @@ -20,7 +20,7 @@ mia - 1.15.1 + 1.15.0 @@ -47,7 +47,7 @@
diff --git a/reference/meltSE.html b/reference/meltSE.html index bed9c586f..f19e08235 100644 --- a/reference/meltSE.html +++ b/reference/meltSE.html @@ -1,7 +1,7 @@ Converting a SummarizedExperiment object into a long data.frame — meltSE • mia @@ -19,7 +19,7 @@ mia - 1.15.1 + 1.15.0
@@ -46,18 +46,31 @@

meltSE Converts a -SummarizedExperiment -object into a long data.frame which can be used for tidyverse-tools.

+SummarizedExperiment object into a +long data.frame which can be used for tidyverse-tools.

-
meltSE(x, ...)
+    
meltSE(
+  x,
+  assay.type = assay_name,
+  assay_name = "counts",
+  add.row = add_row_data,
+  add_row_data = NULL,
+  add.col = add_col_data,
+  add_col_data = NULL,
+  row.name = feature_name,
+  feature_name = "FeatureID",
+  col.name = sample_name,
+  sample_name = "SampleID",
+  ...
+)
 
 # S4 method for class 'SummarizedExperiment'
 meltSE(
@@ -84,14 +97,6 @@ 

Arguments

TreeSummarizedExperiment.

-
...
-

optional arguments:

  • check.names: Logical scalar. Passed to data.frame -function's check.name argument. Determines if sample names are checked -that they are syntactically valid variable names and are not duplicated. -If they are not, sample names are modified. (Default: TRUE)

  • -
- -
assay.type

Character scalar. Specifies which assay to use for calculation. (Default: "counts")

@@ -107,7 +112,8 @@

Arguments

If add.row = NULL no data will be added, if add.row = TRUE all data will be added and if add.row is a character vector, it will be used to subset -to given column names in rowData. (Default: NULL)

+to given column names in rowData. (Default: +NULL)

add_row_data
@@ -115,10 +121,10 @@

Arguments

add.col
-

Logical scalar. NULL, or -character vector. Used to select information from the colData -to add to the molten assay data. If add.col = NULL no data will -be added, if add.col = TRUE all data will be added and if +

Logical scalar. NULL ,or character vector. Used to +select information from the colData to add to the molten assay data. +If add.col = NULL no data will be added, if +add.col = TRUE all data will be added and if add.col is a character vector, it will be used to subset to given column names in colData. (Default: NULL)

@@ -144,13 +150,21 @@

Arguments

sample_name

Deprecated. Use col.name instead.

+ +
...
+

optional arguments:

  • check_names: Logical scalar. Passed to data.frame function's check.name +argument. Determines if sample names are checked that they are syntactically +valid variable names and are not duplicated. If they are not, sample names +are modified. (Default: TRUE)

  • +
+

Value

A tibble with the molten data. The assay values are given in a column named like the selected assay assay.type. In addition, a column “FeatureID” will contain the rownames, if set, and analogously -a column “SampleID” with the colnames, if set.

+a column “SampleID” with the colnames, if set

Details

@@ -163,12 +177,11 @@

Details

Examples

data(GlobalPatterns)
-molten_tse <- meltSE(
-    GlobalPatterns,
-    assay.type = "counts",
-    add.row = TRUE,
-    add.col = TRUE
-    )
+molten_tse <- meltSE(GlobalPatterns,
+                        assay.type = "counts",
+                        add.row = TRUE,
+                        add.col = TRUE
+                        )
 molten_tse
 #> # A tibble: 499,616 × 17
 #>    FeatureID SampleID counts Kingdom Phylum     Class Order Family Genus Species
diff --git a/reference/mergeSEs.html b/reference/mergeSEs.html
index 933480531..0f28980d3 100644
--- a/reference/mergeSEs.html
+++ b/reference/mergeSEs.html
@@ -17,7 +17,7 @@
       
       
         mia
-        1.15.1
+        1.15.0
       
     
@@ -44,7 +44,7 @@
diff --git a/reference/mia-datasets.html b/reference/mia-datasets.html index fd7529110..aebad58db 100644 --- a/reference/mia-datasets.html +++ b/reference/mia-datasets.html @@ -20,7 +20,7 @@ mia - 1.15.1 + 1.15.0
@@ -47,7 +47,7 @@
diff --git a/reference/mia-package.html b/reference/mia-package.html index 66adfd76c..09cf8f9f8 100644 --- a/reference/mia-package.html +++ b/reference/mia-package.html @@ -22,7 +22,7 @@ mia - 1.15.1 + 1.15.0
@@ -49,7 +49,7 @@
diff --git a/reference/peerj13075.html b/reference/peerj13075.html index a95cbab4f..3db1b889c 100644 --- a/reference/peerj13075.html +++ b/reference/peerj13075.html @@ -22,7 +22,7 @@ mia - 1.15.1 + 1.15.0
@@ -49,7 +49,7 @@
diff --git a/reference/rarefyAssay.html b/reference/rarefyAssay.html index f3b5a556d..fcb8691f2 100644 --- a/reference/rarefyAssay.html +++ b/reference/rarefyAssay.html @@ -20,7 +20,7 @@ mia - 1.15.1 + 1.15.0
@@ -47,7 +47,7 @@
diff --git a/reference/runCCA-2.png b/reference/runCCA-2.png index 4edd0c762..3c8ceddb7 100644 Binary files a/reference/runCCA-2.png and b/reference/runCCA-2.png differ diff --git a/reference/runCCA.html b/reference/runCCA.html index b6dde99dd..f29485f26 100644 --- a/reference/runCCA.html +++ b/reference/runCCA.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@
diff --git a/reference/runDPCoA.html b/reference/runDPCoA.html index 5e25aba74..25f30c1eb 100644 --- a/reference/runDPCoA.html +++ b/reference/runDPCoA.html @@ -19,7 +19,7 @@ mia - 1.15.1 + 1.15.0
@@ -46,7 +46,7 @@
diff --git a/reference/runNMDS.html b/reference/runNMDS.html index e3f14915b..e46496477 100644 --- a/reference/runNMDS.html +++ b/reference/runNMDS.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@
diff --git a/reference/splitOn.html b/reference/splitOn.html index 148513ee0..e491ecfe2 100644 --- a/reference/splitOn.html +++ b/reference/splitOn.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@
@@ -222,7 +222,7 @@

Examples

#> assays(1): counts #> rownames(19216): 549322 522457 ... 200359 271582 #> rowData names(8): Kingdom Phylum ... Species group -#> colnames(26): CL3 M11Fcsw ... NP2 TS28 +#> colnames(26): CL3 CC1 ... Even2 Even3 #> colData names(8): X.SampleID Primer ... Description group #> reducedDimNames(0): #> mainExpName: NULL diff --git a/reference/summaries.html b/reference/summaries.html index 046c2a661..6e1141b87 100644 --- a/reference/summaries.html +++ b/reference/summaries.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@
diff --git a/reference/taxonomy-methods.html b/reference/taxonomy-methods.html index e5814cfd2..f55dba631 100644 --- a/reference/taxonomy-methods.html +++ b/reference/taxonomy-methods.html @@ -19,7 +19,7 @@ mia - 1.15.1 + 1.15.0
@@ -46,7 +46,7 @@
diff --git a/reference/transformAssay.html b/reference/transformAssay.html index b9f4eb306..7e838bfff 100644 --- a/reference/transformAssay.html +++ b/reference/transformAssay.html @@ -18,7 +18,7 @@ mia - 1.15.1 + 1.15.0
@@ -45,7 +45,7 @@