Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • an_na
    started a topic filtering variants with R

    filtering variants with R

    Hi,

    I'm learning basic data analysis with R, I'm using RStudio. I have my sequencing data in one file. It contains samples from 3 tissues from 100 individuals. I need to filter out variants within individuals, so that I can see variants unique for each tissue and common between two or all tissues.
    My file is one dataset with 116 columns - after filtering variants I would like to keep all the columns. One of these columns is my individual ID (for 130 individuals) and there are separate columns with variants and tissue types.
    So far, I understand that I need to create a loop that will filter within each individual by 1. sorting variants 2. apply filtering to variant presence in different tissues, so that in the end I would get: 1. 3 sets of variants unique for each tissue type, 2. 1 set of variants common to all tissue types, 3. 3 sets of variants common between 2 tissue types.

    I've tried the VennDiagram package, but it sorts out variants that occur in any other individual in my dataset. I need to look into variants in a single individual.

    Does anyone here know how to solve this??

    Cheers,
    A.

Latest Articles

Collapse

  • seqadmin
    Exploring the Dynamics of the Tumor Microenvironment
    by seqadmin




    The complexity of cancer is clearly demonstrated in the diverse ecosystem of the tumor microenvironment (TME). The TME is made up of numerous cell types and its development begins with the changes that happen during oncogenesis. “Genomic mutations, copy number changes, epigenetic alterations, and alternative gene expression occur to varying degrees within the affected tumor cells,” explained Andrea O’Hara, Ph.D., Strategic Technical Specialist at Azenta. “As...
    07-08-2024, 03:19 PM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 06:46 AM
0 responses
9 views
0 likes
Last Post seqadmin  
Started by seqadmin, 07-24-2024, 11:09 AM
0 responses
26 views
0 likes
Last Post seqadmin  
Started by seqadmin, 07-19-2024, 07:20 AM
0 responses
160 views
0 likes
Last Post seqadmin  
Started by seqadmin, 07-16-2024, 05:49 AM
0 responses
127 views
0 likes
Last Post seqadmin  
Working...
X