Converts a dbMatrix object into an in-memory matrix or sparse matrix.
+Usage
+# S4 method for class 'dbMatrix'
+as.matrix(x, ...)
From e9994762651b52a01bfa712cf4266d8f5b05c182 Mon Sep 17 00:00:00 2001 From: Ed2uiz <32622519+Ed2uiz@users.noreply.github.com> Date: Wed, 18 Sep 2024 15:13:02 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20drieslab?= =?UTF-8?q?/dbMatrix@e56e052353d57eba82b69b5c9a72cba6a56d720b=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- GPL-3.html | 2 +- LICENSE-text.html | 2 +- articles/arithmetic.html | 25 ++- articles/index.html | 2 +- articles/operations.html | 188 +++++++++++------- articles/overview.html | 2 +- authors.html | 2 +- index.html | 2 +- news/index.html | 2 +- pkgdown.js | 8 + pkgdown.yml | 4 +- reference/as.matrix-dbMatrix-method.html | 100 ++++++++++ reference/colMeans,dbDenseMatrix-method.html | 4 +- reference/colMeans,dbSparseMatrix-method.html | 4 +- reference/colSums,dbDenseMatrix-method.html | 4 +- reference/colSums,dbSparseMatrix-method.html | 4 +- reference/colnames,dbMatrix-method.html | 4 +- reference/dbList-DBIConnection-method.html | 93 +++++++++ reference/dbMatrix.html | 10 +- reference/dbMatrix_from_tbl.html | 4 +- reference/dim-dbMatrix-method.html | 17 +- reference/dimnames,dbMatrix-method.html | 4 +- reference/dot-check_con.html | 2 +- reference/dot-check_name.html | 2 +- reference/dot-check_overwrite.html | 4 +- reference/dot-check_value.html | 2 +- reference/get_MM_dim.html | 4 +- reference/get_MM_dimnames.html | 2 +- reference/get_con.html | 2 +- reference/get_dbdir.html | 2 +- reference/get_tblName.html | 2 +- reference/head_tail.html | 43 +++- reference/index.html | 73 +++++-- reference/log-dbMatrix-method.html | 51 ++++- reference/map_ijx_dimnames.html | 15 +- reference/matrix_props.html | 119 +++++++++++ reference/mean.html | 26 ++- reference/nrow_ncol.html | 22 +- reference/precompute.html | 2 +- reference/print_array.html | 2 +- reference/rowMeans,dbSparseMatrix-method.html | 4 +- reference/rowSums,dbSparseMatrix-method.html | 4 +- reference/row_col_means.html | 115 +++++++++++ reference/row_col_sums.html | 115 +++++++++++ reference/sds.html | 60 ++++-- reference/simulate_objects.html | 2 +- reference/sum-dbMatrix-method.html | 94 +++++++++ reference/t-dbMatrix-method.html | 21 +- reference/to_ijx_disk.html | 2 +- search.json | 2 +- sitemap.xml | 9 +- 52 files changed, 1081 insertions(+), 211 deletions(-) create mode 100644 reference/as.matrix-dbMatrix-method.html create mode 100644 reference/dbList-DBIConnection-method.html create mode 100644 reference/matrix_props.html create mode 100644 reference/row_col_means.html create mode 100644 reference/row_col_sums.html create mode 100644 reference/sum-dbMatrix-method.html diff --git a/404.html b/404.html index fc53298..8bc0404 100644 --- a/404.html +++ b/404.html @@ -77,7 +77,7 @@
library(dbMatrix)
+#>
+#> Attaching package: 'dbMatrix'
+#> The following object is masked from 'package:base':
+#>
+#> load
Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
diff --git a/articles/index.html b/articles/index.html index da9ab14..6d6f045 100644 --- a/articles/index.html +++ b/articles/index.html @@ -62,7 +62,7 @@vignettes/operations.Rmd
operations.Rmd
dbMatrix::colMeans(sparse)
## AAAGGGATGTAGCAAG-1 AAATGGCATGTCTTGT-1 AAATGGTCAATGTGCC-1 AAATTAACGGGTAGCT-1
-## 0.7413249 1.3296530 1.1435331 0.8343849
-## AACAACTGGTAGTTGC-1 AACAGGAAATCGAATA-1 AACAGGATGGGCCGCG-1 AACCATGGGATCGCTA-1
-## 1.6135647 2.2129338 1.7223975 1.9022082
-## AACCCAGAGACGGAGA-1 AACCGAGCTTGGTCAT-1
-## 0.7397476 0.9258675
-## [ reached getOption("max.print") -- omitted 614 entries ]
+## 1 x 624 matrix of class "dbDenseMatrix"
+## [[ Colnames 'AAAGGGATGTAGCAAG-1', 'AAATGGCATGTCTTGT-1', 'AAATGGTCAATGTGCC-1' ... suppressing 618 ...'TTGTCGTTCAGTTACC-1', 'TTGTGGCCCTGACAGT-1', 'TTGTTCAGTGTGCTAC-1' ]]
+##
+## row1 0.74132 1.32965 1.14353 0.83438 1.61356 2.21293 1.7224 1.90221 0.73975
+##
+## row1 0.92587
+-dbMatrix::colSums(sparse)
+## AAAGGGATGTAGCAAG-1 AAATGGCATGTCTTGT-1 AAATGGTCAATGTGCC-1 AAATTAACGGGTAGCT-1 -## 470 843 725 529 -## AACAACTGGTAGTTGC-1 AACAGGAAATCGAATA-1 AACAGGATGGGCCGCG-1 AACCATGGGATCGCTA-1 -## 1023 1403 1092 1206 -## AACCCAGAGACGGAGA-1 AACCGAGCTTGGTCAT-1 -## 469 587 -## [ reached getOption("max.print") -- omitted 614 entries ]
+## 1 x 624 matrix of class "dbDenseMatrix"
+## [[ Colnames 'AAAGGGATGTAGCAAG-1', 'AAATGGCATGTCTTGT-1', 'AAATGGTCAATGTGCC-1' ... suppressing 618 ...'TTGTCGTTCAGTTACC-1', 'TTGTGGCCCTGACAGT-1', 'TTGTTCAGTGTGCTAC-1' ]]
## +## row1 470 843 725 529 1023 1403 1092 1206 469 587
+-dbMatrix::rowMeans(sparse)
+## Gna12 Ccnd2 Btbd17 Sox9 Sez6 Serpinf1 S100a6 Col1a1 -## 2.7179487 1.7323718 0.5528846 0.8766026 4.4679487 0.3092949 1.6522436 0.1185897 -## Vwf Esam -## 0.6346154 0.4391026 -## [ reached getOption("max.print") -- omitted 624 entries ]
+## 634 x 1 matrix of class "dbDenseMatrix"
+## [[ Colnames: 'col1' ]]
## +## Gna12 2.71795 +## Ccnd2 1.73237 +## Btbd17 0.55288 +## +## ......suppressing 628 rows +## +## Gm19935 0.20833 +## 9630013A20Rik 0.17147 +## 2900040C04Rik 0.15545
+-dbMatrix::rowSums(sparse)
+## Gna12 Ccnd2 Btbd17 Sox9 Sez6 Serpinf1 S100a6 Col1a1 -## 1696 1081 345 547 2788 193 1031 74 -## Vwf Esam -## 396 274 -## [ reached getOption("max.print") -- omitted 624 entries ]
+## 634 x 1 matrix of class "dbDenseMatrix"
+## [[ Colnames: 'col1' ]]
## +## Gna12 1696 +## Ccnd2 1081 +## Btbd17 345 +## +## ......suppressing 628 rows +## +## Gm19935 130 +## 9630013A20Rik 107 +## 2900040C04Rik 97
+dim(sparse)
-## [1] 634 624
@@ -298,32 +308,48 @@+dim(dgc)
## [1] 634 624
Check results are equivalent
+ --## [1] TRUE
++ -## [1] "Modes: S4, numeric" + ## [2] "Lengths: 1, 624" + ## [3] "names for current but not for target" + ## [4] "Attributes: < names for target but not for current >" + ## [5] "Attributes: < Length mismatch: comparison on first 0 components >"
-## [1] TRUE
++ -## [1] "Modes: S4, numeric" + ## [2] "Lengths: 1, 624" + ## [3] "names for current but not for target" + ## [4] "Attributes: < names for target but not for current >" + ## [5] "Attributes: < Length mismatch: comparison on first 0 components >"
-## [1] TRUE
++ -## [1] "Modes: S4, numeric" + ## [2] "Lengths: 1, 634" + ## [3] "names for current but not for target" + ## [4] "Attributes: < names for target but not for current >" + ## [5] "Attributes: < Length mismatch: comparison on first 0 components >"
+## [1] TRUE
## [1] "Modes: S4, numeric" + ## [2] "Lengths: 1, 634" + ## [3] "names for current but not for target" + ## [4] "Attributes: < names for target but not for current >" + ## [5] "Attributes: < Length mismatch: comparison on first 0 components >"
diff --git a/reference/dim-dbMatrix-method.html b/reference/dim-dbMatrix-method.html index 89a1100..151a1d7 100644 --- a/reference/dim-dbMatrix-method.html +++ b/reference/dim-dbMatrix-method.html @@ -1,5 +1,5 @@ -dbDenseMatrix Operations
-+-# below is a convenience function to simulate a dbDenseMatrix dense = dbMatrix::sim_dbDenseMatrix() # preview dense
## 50 x 50 matrix of class "dbDenseMatrix" -## +
+## 50 x 50 matrix of class "dbDenseMatrix"
## ## row1 1.37096 0.32193 1.20097 -0.0407 -2.00093 -1.09616 -0.00462 0.72417 ## ## row1 1.33491 -1.30382 @@ -336,7 +362,7 @@
dbDenseMatrix Operations
transpose
-diff --git a/reference/dbMatrix_from_tbl.html b/reference/dbMatrix_from_tbl.html index d0be204..e63ca72 100644 --- a/reference/dbMatrix_from_tbl.html +++ b/reference/dbMatrix_from_tbl.html @@ -90,7 +90,7 @@+dbMatrix::t(dense)
## 50 x 50 matrix of class "dbDenseMatrix"
@@ -354,58 +380,76 @@## [[ Colnames 'row1', 'row2', 'row3' ... suppressing 44 ...'row48', 'row49', 'row50' ]]
transpose
colMeans
-+-dbMatrix::colMeans(dense)
+## col1 col2 col3 col4 col5 col6 -## -0.035671782 0.100701413 -0.151251089 -0.023716326 0.007939877 -0.028676220 -## col7 col8 col9 col10 -## -0.061541347 0.127414276 -0.119421148 -0.116239863 -## [ reached getOption("max.print") -- omitted 40 entries ]
+## 1 x 50 matrix of class "dbDenseMatrix"
+## [[ Colnames 'col1', 'col2', 'col3' ... suppressing 44 ...'col48', 'col49', 'col50' ]]
## +## row1 -0.03562 0.10074 -0.15122 -0.02372 0.00794 -0.02862 -0.06156 0.12742 +## +## row1 -0.11944 -0.11622
diff --git a/pkgdown.js b/pkgdown.js index 9757bf9..1a99c65 100644 --- a/pkgdown.js +++ b/pkgdown.js @@ -152,3 +152,11 @@ async function searchFuse(query, callback) { }); }); })(window.jQuery || window.$) + +document.addEventListener('keydown', function(event) { + // Check if the pressed key is '/' + if (event.key === '/') { + event.preventDefault(); // Prevent any default action associated with the '/' key + document.getElementById('search-input').focus(); // Set focus to the search input + } +}); diff --git a/pkgdown.yml b/pkgdown.yml index 7b76cb7..99d7a14 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -1,11 +1,11 @@ pandoc: 3.1.11 -pkgdown: 2.1.0 +pkgdown: 2.1.1 pkgdown_sha: ~ articles: arithmetic: arithmetic.html operations: operations.html overview: overview.html -last_built: 2024-08-15T17:06Z +last_built: 2024-09-18T15:12Z urls: reference: https://drieslab.github.io/dbMatrix/reference article: https://drieslab.github.io/dbMatrix/articles diff --git a/reference/as.matrix-dbMatrix-method.html b/reference/as.matrix-dbMatrix-method.html new file mode 100644 index 0000000..9f09749 --- /dev/null +++ b/reference/as.matrix-dbMatrix-method.html @@ -0,0 +1,100 @@ + +colSums
-+-dbMatrix::colSums(dense)
+## col1 col2 col3 col4 col5 col6 col7 -## -1.7835891 5.0350707 -7.5625544 -1.1858163 0.3969938 -1.4338110 -3.0770674 -## col8 col9 col10 -## 6.3707138 -5.9710574 -5.8119931 -## [ reached getOption("max.print") -- omitted 40 entries ]
+## 1 x 50 matrix of class "dbDenseMatrix"
+## [[ Colnames 'col1', 'col2', 'col3' ... suppressing 44 ...'col48', 'col49', 'col50' ]]
+## Warning: ORDER BY is ignored in subqueries without LIMIT +## ℹ Do you need to move arrange() later in the pipeline or use window_order() instead?
## +## row1 -1.781 5.037 -7.561 -1.186 0.397 -1.431 -3.078 6.371 -5.972 -5.811
rowMeans
-+-dbMatrix::rowMeans(dense)
+## row1 row2 row3 row4 row5 row6 -## 0.053643638 0.002494642 0.031334034 0.093889009 -0.048311439 -0.047287825 -## row7 row8 row9 row10 -## 0.092209664 -0.023069981 0.096433464 -0.093495713 -## [ reached getOption("max.print") -- omitted 40 entries ]
+## 50 x 1 matrix of class "dbDenseMatrix"
+## [[ Colnames: 'col1' ]]
## +## row1 0.05362 +## row2 0.00246 +## row3 0.03132 +## +## ......suppressing 44 rows +## +## row48 -0.10104 +## row49 0.05928 +## row50 0.02156
diff --git a/news/index.html b/news/index.html index b33e20e..18e55dd 100644 --- a/news/index.html +++ b/news/index.html @@ -367,7 +367,7 @@rowSums
-+-dbMatrix::rowSums(dense)
+## row1 row2 row3 row4 row5 row6 row7 -## 2.6821819 0.1247321 1.5667017 4.6944505 -2.4155720 -2.3643912 4.6104832 -## row8 row9 row10 -## -1.1534990 4.8216732 -4.6747857 -## [ reached getOption("max.print") -- omitted 40 entries ]
+## 50 x 1 matrix of class "dbDenseMatrix"
+## [[ Colnames: 'col1' ]]
+## Warning: ORDER BY is ignored in subqueries without LIMIT +## ℹ Do you need to move arrange() later in the pipeline or use window_order() instead?
## +## row1 2.681 +## row2 0.123 +## row3 1.566 +## +## ......suppressing 44 rows +## +## row48 -5.052 +## row49 2.964 +## row50 1.078
diff --git a/index.html b/index.html index 51706ef..337a229 100644 --- a/index.html +++ b/index.html @@ -131,7 +131,7 @@mean
-+-dbMatrix::mean(dense)
+## [1] -0.009673541
## [1] -0.0096724
dim
-@@ -413,11 +457,11 @@+dim(dense)
## [1] 50 50
dim
diff --git a/authors.html b/authors.html index e9b661a..da260a9 100644 --- a/authors.html +++ b/authors.html @@ -86,7 +86,7 @@Session Info
-diff --git a/articles/overview.html b/articles/overview.html index a7f169b..5057a52 100644 --- a/articles/overview.html +++ b/articles/overview.html @@ -129,7 +129,7 @@+## R version 4.4.1 (2024-06-14) ## Platform: x86_64-pc-linux-gnu -## Running under: Ubuntu 22.04.4 LTS +## Running under: Ubuntu 22.04.5 LTS ## ## Matrix products: default ## BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 @@ -456,7 +500,7 @@
Session Info -
Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
dbDenseMatrix -
Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
Citation
Dev status
Chore -
Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
Convert dbMatrix to in-memory matrix — as.matrix,dbMatrix-method • dbMatrix + Skip to contents + + +++ + + + + + + diff --git a/reference/colMeans,dbDenseMatrix-method.html b/reference/colMeans,dbDenseMatrix-method.html index 572409f..62203c5 100644 --- a/reference/colMeans,dbDenseMatrix-method.html +++ b/reference/colMeans,dbDenseMatrix-method.html @@ -1,8 +1,8 @@ - + - + diff --git a/reference/colMeans,dbSparseMatrix-method.html b/reference/colMeans,dbSparseMatrix-method.html index 572409f..62203c5 100644 --- a/reference/colMeans,dbSparseMatrix-method.html +++ b/reference/colMeans,dbSparseMatrix-method.html @@ -1,8 +1,8 @@ - + - + diff --git a/reference/colSums,dbDenseMatrix-method.html b/reference/colSums,dbDenseMatrix-method.html index 572409f..761c674 100644 --- a/reference/colSums,dbDenseMatrix-method.html +++ b/reference/colSums,dbDenseMatrix-method.html @@ -1,8 +1,8 @@ - + - + diff --git a/reference/colSums,dbSparseMatrix-method.html b/reference/colSums,dbSparseMatrix-method.html index 572409f..761c674 100644 --- a/reference/colSums,dbSparseMatrix-method.html +++ b/reference/colSums,dbSparseMatrix-method.html @@ -1,8 +1,8 @@ - + - + diff --git a/reference/colnames,dbMatrix-method.html b/reference/colnames,dbMatrix-method.html index 331b63c..d9cbb20 100644 --- a/reference/colnames,dbMatrix-method.html +++ b/reference/colnames,dbMatrix-method.html @@ -1,8 +1,8 @@ - + - + diff --git a/reference/dbList-DBIConnection-method.html b/reference/dbList-DBIConnection-method.html new file mode 100644 index 0000000..9660afd --- /dev/null +++ b/reference/dbList-DBIConnection-method.html @@ -0,0 +1,93 @@ + +++ + ++ + ++ +Converts a dbMatrix object into an in-memory matrix or sparse matrix.
+++ + + + + +Usage
++# S4 method for class 'dbMatrix' +as.matrix(x, ...)
List remote tables, temporary tables, and views — dbList,DBIConnection-method • dbMatrix + Skip to contents + + +++ + + + + + + diff --git a/reference/dbMatrix.html b/reference/dbMatrix.html index bf59700..fc79974 100644 --- a/reference/dbMatrix.html +++ b/reference/dbMatrix.html @@ -1,5 +1,5 @@ -++ + + + ++ +List remote tables, temporary tables, and views
+ Source:R/utils.R
++dbList-DBIConnection-method.Rd
++ + + +Pretty prints tables, temporary tables, and views in the database.
+++ + +Arguments
+ + +
- conn
+- + +
A DBIConnection object, as returned by +
dbConnect()
.Create a sparse or dense dbMatrix objects — dbMatrix • dbMatrix +Create a dbSparseMatrix or dbDenseMatrix object — dbMatrix • dbMatrix Skip to contents @@ -40,7 +40,7 @@ -@@ -130,8 +130,8 @@Create a sparse or dense dbMatrix objects
+Create a
Source:dbSparseMatrix
ordbDenseMatrix
objectR/dbMatrix.R
dbMatrix.Rd
Details
.mtx
Path to .mtx file
.csv
Path to .csv file+existing
tbl_duckdb_connection
Table in DuckDB database in ijx format from - existingdbMatrix
object.dims
anddim_names
must be - specified ifvalue
istbl_duckdb_connection
.dbMatrix
object.dims
anddim_names
must be +specified ifvalue
istbl_duckdb_connection
.Arguments
Value
-`dbMatrix` object
+
dbMatrix
objectDimensions of an Object — dim,dbMatrix-method • dbMatrix +Dimensions of an Object — dim,dbMatrix-method • dbMatrix Skip to contents @@ -46,7 +46,7 @@Dimensions of an Object
-See ?
+base::dim
for more details.Retrieve the dimension of an object.
Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
.check_overwrite(conn, overwrite, name, skip_value_check)
.check_overwrite(conn, overwrite, name, skip_value_check = FALSE)
Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
diff --git a/reference/get_MM_dim.html b/reference/get_MM_dim.html index 818c38d..55389be 100644 --- a/reference/get_MM_dim.html +++ b/reference/get_MM_dim.html @@ -68,7 +68,7 @@Scans for the header of an mtx file (starting with +
Scans for the header of an mtx file (starting with %) and takes one more line representing the dimensions and number of nonzero values.
Note: the header size can vary depending on the .mtx file.
Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
diff --git a/reference/get_dbdir.html b/reference/get_dbdir.html index 5986d58..f1f663b 100644 --- a/reference/get_dbdir.html +++ b/reference/get_dbdir.html @@ -72,7 +72,7 @@Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
diff --git a/reference/get_tblName.html b/reference/get_tblName.html index f045689..cbc775d 100644 --- a/reference/get_tblName.html +++ b/reference/get_tblName.html @@ -72,7 +72,7 @@Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
diff --git a/reference/head_tail.html b/reference/head_tail.html index 9940976..203aa7d 100644 --- a/reference/head_tail.html +++ b/reference/head_tail.html @@ -1,7 +1,9 @@ -See ?utils::head
for more details.
See ?utils::tail
for more details.
Returns the first or last parts of a vector, matrix, table, data frame
+ or function. Since head()
and tail()
are generic
+ functions, they may also have been extended to other classes.
an object
an integer vector of length up to dim(x)
(or 1,
+ for non-dimensioned objects). A logical
is silently coerced to
+ integer. Values specify the indices to be
+ selected in the corresponding dimension (or along the length) of the
+ object. A positive value of n[i]
includes the first/last
+ n[i]
indices in that dimension, while a negative value
+ excludes the last/first abs(n[i])
, including all remaining
+ indices. NA
or non-specified values (when length(n) <
+ length(dim(x))
) select all indices in that dimension. Must
+ contain at least one non-missing value.
arguments to be passed to or from other methods.
Functions for dbMatrix
objects
Function for creating dbMatrix
objects
dbSparseMatrix
or dbDenseMatrix
objectFunctions/methods to compute summary statistics for dbMatrix
objects
Methods to compute summary statistics for dbMatrix
objects
mean(<dbSparseMatrix>)
- rowSums(<dbDenseMatrix>)
rowSums(<dbSparseMatrix>)
colSums(<dbDenseMatrix>)
colSums(<dbSparseMatrix>)
rowMeans(<dbDenseMatrix>)
rowMeans(<dbSparseMatrix>)
colMeans(<dbDenseMatrix>)
colMeans(<dbSparseMatrix>)
+ rowMeans(<dbDenseMatrix>)
rowMeans(<dbSparseMatrix>)
colMeans(<dbDenseMatrix>)
colMeans(<dbSparseMatrix>)
rowSums(<dbDenseMatrix>)
rowSums(<dbSparseMatrix>)
colSums(<dbDenseMatrix>)
colSums(<dbSparseMatrix>)
+
+ colSds(<dbDenseMatrix>)
colSds(<dbSparseMatrix>)
rowSds(<dbDenseMatrix>)
rowSds(<dbSparseMatrix>)
sum(<dbMatrix>)
+
+ Functions/methods for transforming dbMatrix
objects
Methods for transforming dbMatrix
objects
as.matrix(<dbMatrix>)
+
+ log(<dbMatrix>)
Functions/methods to get basic properties of dbMatrix
objects
Methods to retrieve basic properties of dbMatrix
objects
dim(<dbMatrix>)
`rownames<-`(<dbMatrix>)
colnames(<dbMatrix>)
`colnames<-`(<dbMatrix>)
dimnames(<dbMatrix>)
`dimnames<-`(<dbMatrix>,<list>)
+
+
+ nrow(<dbMatrix>)
ncol(<dbMatrix>)
dbList(<DBIConnection>)
+
+ Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
diff --git a/reference/log-dbMatrix-method.html b/reference/log-dbMatrix-method.html index 8bbf55d..7a170c1 100644 --- a/reference/log-dbMatrix-method.html +++ b/reference/log-dbMatrix-method.html @@ -1,5 +1,23 @@ -See ?base::log
for more details.
log
computes logarithms, by default natural logarithms,
+ log10
computes common (i.e., base 10) logarithms, and
+ log2
computes binary (i.e., base 2) logarithms.
+ The general form log(x, base)
computes logarithms with base
+ base
.
log1p(x)
computes \(\log(1+x)\) accurately also for
+ \(|x| \ll 1\).
exp
computes the exponential function.
expm1(x)
computes \(\exp(x) - 1\) accurately also for
+ \(|x| \ll 1\).
Constructs a table in a database that contains the accompanying dimnames -for a dbMatrix. The resulting columns in the table: -* i (row index) -* colName_i (rownames), -* j (col index) -* j_names (colnames) -* x (counts of i,j occcurences)
- +for a dbMatrix. The resulting columns in the table:i (row index)
colName_i (rownames),
j (col index)
j_names (colnames)
x (counts of i,j occcurences)
R/names.R
+ matrix_props.Rd
Retrieve and Set Row (Column) Dimension Names of dbMatrix Objects
+# S4 method for class 'dbMatrix'
+rownames(x)
+
+# S4 method for class 'dbMatrix'
+rownames(x) <- value
+
+# S4 method for class 'dbMatrix'
+colnames(x)
+
+# S4 method for class 'dbMatrix'
+colnames(x) <- value
+
+# S4 method for class 'dbMatrix'
+dimnames(x)
+
+# S4 method for class 'dbMatrix,list'
+dimnames(x) <- value
a matrix-like R object, with at least two dimensions for
+ colnames
.
a valid value for that component of
+ dimnames(x)
. For a matrix or array this is either
+ NULL
or a character vector of non-zero length equal to the
+ appropriate dimension.
Not used for this method. Included for compatibility with the +generic.
Not used for this method. Included for compatibility with the +generic.
See ?base::mean
for more details.
See ?base::mean
for more details.
Generic function for the (trimmed) arithmetic mean.
R/operations.R
nrow_ncol.Rd
See ?base::nrow
for more details.
See ?base::ncol
for more details.
nrow and ncol return the number of rows or columns present in x.
Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
diff --git a/reference/print_array.html b/reference/print_array.html index b182840..6cbeb4b 100644 --- a/reference/print_array.html +++ b/reference/print_array.html @@ -92,7 +92,7 @@Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
diff --git a/reference/rowMeans,dbSparseMatrix-method.html b/reference/rowMeans,dbSparseMatrix-method.html index 572409f..62203c5 100644 --- a/reference/rowMeans,dbSparseMatrix-method.html +++ b/reference/rowMeans,dbSparseMatrix-method.html @@ -1,8 +1,8 @@ - + - + diff --git a/reference/rowSums,dbSparseMatrix-method.html b/reference/rowSums,dbSparseMatrix-method.html index 572409f..761c674 100644 --- a/reference/rowSums,dbSparseMatrix-method.html +++ b/reference/rowSums,dbSparseMatrix-method.html @@ -1,8 +1,8 @@ - + - + diff --git a/reference/row_col_means.html b/reference/row_col_means.html new file mode 100644 index 0000000..bc58e0d --- /dev/null +++ b/reference/row_col_means.html @@ -0,0 +1,115 @@ + +Calculates the mean for each row (column) of a matrix-like object.
+An NxK matrix-like object, a numeric data frame, or an array-like +object of two or more dimensions.
Additional arguments passed to specific methods.
logical. If FALSE (default), results returned as dbDenseMatrix. This is recommended +for large computations. Set to TRUE to return the results as a vector.
Always TRUE for dbMatrix queries. Included for compatibility +with the generic.
Always 1 for dbMatrix queries. Included for compatibility with +the generic.
Calculates the sum for each row (column) of a matrix-like object.
+An NxK matrix-like object, a numeric data frame, or an array-like +object of two or more dimensions.
Additional arguments passed to specific methods.
logical. If FALSE (default), results returned as dbDenseMatrix. This is recommended +for large computations. Set to TRUE to return the results as a vector.
Always TRUE for dbMatrix queries. Included for compatibility +with the generic.
Always 1 for dbMatrix queries. Included for compatibility with +the generic.
R/operations.R
sds.Rd
See ?MatrixGenerics::colSds
for more details.
See ?MatrixGenerics::colSds
for more details.
See ?MatrixGenerics::rowSds
for more details.
See ?MatrixGenerics::rowSds
for more details.
Calculates the standard deviation for each row (column) of a matrix-like +object.
An NxK matrix-like object.
Always NULL for dbMatrix queries. Included for compatibility +with the generic.
Always TRUE for dbMatrix queries. Included for compatibility +with the generic.
Always NULL for dbMatrix queries. Included for compatibility +with the generic.
Additional arguments passed to specific methods.
Always TRUE for dbMatrix queries. Included for compatibility +with the generic.
Always NULL for dbMatrix queries. Included for compatibility with +the generic.
Site built with pkgdown 2.1.0.
+Site built with pkgdown 2.1.1.
diff --git a/reference/sum-dbMatrix-method.html b/reference/sum-dbMatrix-method.html new file mode 100644 index 0000000..486eac2 --- /dev/null +++ b/reference/sum-dbMatrix-method.html @@ -0,0 +1,94 @@ + +sum
returns the sum of all the values
+ present in its arguments.
# S4 method for class 'dbMatrix'
+sum(x, na.rm = TRUE)
See ?base::t
for more details.
Given a dbMatrix x, t returns the transpose of x.