csvToSparse | R Documentation |
This function executes a ubuntu docker that create a sparse matrix, without 0s, from a dense one, including 0s
csvToSparse(group = c("sudo", "docker"), scratch.folder, file, separator)
group |
a character string. Two options: sudo or docker, depending to which group the user belongs |
scratch.folder |
a character string indicating the path of the scratch folder |
file |
a character string indicating the path of the file, with file name and extension included |
separator |
separator used in count file, e.g. '\t', ',' |
three files: matrix.mtx, barcodes.tsv and genes.tsv
Luca Alessandri, alessandri [dot] luca1991 [at] gmail [dot] com, University of Torino
## Not run:
system("wget http://130.192.119.59/public/annotated_setPace_10000_noC5.txt.zip")
unzip("annotated_setPace_10000_noC5.txt.zip")
csvToSparse(group="docker", scratch="/data/scratch",
file=paste(getwd(), "annotated_setPace_10000_noC5.txt", sep="/"),
separator="\t")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.