Skip to content

Running Citrus from script #117

Description

@cbligaard

Hi Citrus-team,

I would like to run Citrus from the command-line using an R script. I would like to cluster the data and then look for both differential abundance and expression in the same clusters. I have two conditions with 19 samples in each (basal vs. treatment).

I first set up a run using the GUI and started working from the generated runCitrus.R script. However, I am unsure about these lines:

# Make vector of conditions for analysis. If comparing two conditions, should be 
# two elements - first element is baseline condition and second is comparison condition.
conditions = colnames(fileList)[1]

Should it be like this when I have two conditions? Or should there be a difference between basal and treatment here? I have attached my current script. Any help is appreciated!

modified_runCitrus.txt

An additional question: My data is actually paired - is this something that can be included in the model? I know SAM has the 'Two class paired' response type built in already, so perhaps it would be a simple tweak for me to make?

Best,
Christina

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions