isave.RDS | R Documentation |
Save an RDS object, using a faster and efficient compression method that runs in the background.
isave.RDS(
obj,
prefix = NULL,
suffix = NULL,
inOutDir = TRUE,
project = getProject(),
alternative_path_rdata = paste0("~/Dropbox (VBC)/Abel.IMBA/AnalysisD/_RDS.files/",
basename(OutDir)),
homepath = if (Sys.info()[1] == "Darwin") "~/" else "/users/abel.vertesy/",
showMemObject = TRUE,
saveParams = TRUE,
compress = TRUE,
test_read = FALSE
)
obj |
The object to be saved, typically a Seurat object. |
prefix |
A string prefix added to the filename. Default: NULL. |
suffix |
A string suffix added to the filename. Default: NULL. |
inOutDir |
A boolean flag, if TRUE the OutDir is used as save directory, if FALSE the
alternative_path_rdata is used. Default: |
project |
A string representing the project code. This is appended to the saved file name. Default: the active project determined by getProject(). |
alternative_path_rdata |
A string that specifies the alternative path for storing the RDS file if inOutDir is FALSE. Default: "~/Dropbox (VBC)/Abel.IMBA/AnalysisD/_RDS.files/" appended with the basename of OutDir. |
homepath |
A string representing the homepath. Will be replaced by '~' in the file path. Default: '~/'. |
showMemObject |
A boolean flag, if TRUE the function will print out the memory size of the
largest objects in the workspace. Default: |
saveParams |
A boolean flag, if TRUE the parameters 'p' and 'all.genes' are added to the
'misc' slot of the Seurat object if the object is of class Seurat. Default: |
compress |
Compress .Rds file after writing? Default: |
test_read |
Provide command to test validity by reading in the object just written. |
## Not run:
if (interactive()) {
isave.RDS(my.R.object)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.