|Combining LEMs||R Documentation|
Methods to combine LinearEmbeddingMatrix objects.
## S4 method for signature 'LinearEmbeddingMatrix' rbind(..., deparse.level=1) ## S4 method for signature 'LinearEmbeddingMatrix' cbind(..., deparse.level=1)
One or more LinearEmbeddingMatrix objects.
An integer scalar; see
rbind, LinearEmbeddingMatrix objects are combined row-wise, i.e., rows in successive objects are appended to the first object.
This corresponds to adding more samples to the first object.
factorData will only be taken from the first element in the list;
no checks are performed to determine whether they are consistent or not across objects.
cbind, LinearEmbeddingMatrix objects are combined columns-wise, i.e., columns in successive objects are appended to the first object.
This corresponds to adding more factors to the first object.
featureLoadings will also be combined column-wise across objects, provided that the number of features is the same across objects.
factorData will be combined row-wise across objects.
Combining objects with and without row names will result in the removal of all row names; similarly for column names. Duplicate row names are currently supported by duplicate column names are not, and will be de-duplicated appropriately.
A LinearEmbeddingMatrix object containing all rows/columns of the supplied objects.
example(LinearEmbeddingMatrix, echo=FALSE) # using the class example rbind(lem, lem) cbind(lem, lem)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.