text: user8566: I will have some scRNA-seq data. The goal of the experiment will be to see if there is any difference in gene expression between treatment groups using the package Seurat from R.
  I have read a tutorial how to do the analyze, but this tutorial does not explain how to import data.
  I am a total beginner with R, I searched the internet,but the majority of the explanations related to csv/excel/txt... common files.
  Data are from Cell ranger and spread in 3 files with following file extensions : .tsv and .mtx (barcodes.tsv, genes.tsv and matrix.mtx).
  Collaborators ran Cell Ranger and gave these cell ranger output files : barcodes.tsv, genes.tsv and matrix.mtx.
  Can someone give me the code to import these kind of data to R ?
  Thank you in advance.
  update: By "directory" you means "folder" on my computer for example ? So I need to save the 3 files under one folder and then to put name of the folder into brackets after the Read10x function ? I am a total beginner with R (I have used to R commander for statistical tests but that's it...).
  update 2: I successed to import data into Seurat with the explanation of StupidWolf. I do not know C language ( I do not know almost any language ..). My system crashed a little further in the analyze after importing, not enough RAM... so now I am learning Linux commands to switch on the cluster.
  
  user73: Answer from StupidWolf, converted from comment:
  There is a function call Read10X in seurat, you can see how to use it with the example in https://support.10xgenomics.com/single-cell-gene-expression/software/pipelines/latest/rkit
  You place the three files into a directory / folder, then you specify Read10X()... hey how big is your data? you might need to run this on a machine with enough RAM.
  You can try downloading the data following instructions here:
  https://satijalab.org/seurat/v3.1/pbmc3k_tutorial.html
  
original_text: 8566: <p>I will have some scRNA-seq data. The goal of the experiment will be to see if there is any difference in gene expression between treatment groups using the package Seurat from R.</p>
  <p>I have read a tutorial how to do the analyze, but this tutorial does not explain how to import data.
  I am a total beginner with R, I searched the internet,but the majority of the explanations related to csv/excel/txt... common files.
  Data are from Cell ranger and spread in 3 files with following file extensions : .tsv and .mtx (barcodes.tsv, genes.tsv and matrix.mtx).</p>
  <p>Collaborators ran Cell Ranger and gave these cell ranger output files : <code>barcodes.tsv</code>, <code>genes.tsv</code> and <code>matrix.mtx</code>.</p>
  <p>Can someone give me the code to import these kind of data to R ?</p>
  <p>Thank you in advance.</p>
  <p>update: By &quot;directory&quot; you means &quot;folder&quot; on my computer for example ? So I need to save the 3 files under one folder and then to put name of the folder into brackets after the Read10x function ? I am a total beginner with R (I have used to R commander for statistical tests but that's it...).</p>
  <p>update 2: I successed to import data into Seurat with the explanation of StupidWolf. I do not know C language ( I do not know almost any language ..). My system crashed a little further in the analyze after importing, not enough RAM... so now I am learning Linux commands to switch on the cluster.</p>
   73: <p><em>Answer from StupidWolf, converted from comment:</em></p>
  <p>There is a function call Read10X in seurat, you can see how to use it with the example in <a href="https://support.10xgenomics.com/single-cell-gene-expression/software/pipelines/latest/rkit" rel="nofollow noreferrer">https://support.10xgenomics.com/single-cell-gene-expression/software/pipelines/latest/rkit</a></p>
  <p>You place the three files into a directory / folder, then you specify Read10X()... hey how big is your data? you might need to run this on a machine with enough RAM.</p>
  <p>You can try downloading the data following instructions here:</p>
  <p><a href="https://satijalab.org/seurat/v3.1/pbmc3k_tutorial.html" rel="nofollow noreferrer">https://satijalab.org/seurat/v3.1/pbmc3k_tutorial.html</a></p>
  